Skip to content

ci: rename workflow to npm-deploy.yml, switch to npm Trusted Publishe… #1

ci: rename workflow to npm-deploy.yml, switch to npm Trusted Publishe…

ci: rename workflow to npm-deploy.yml, switch to npm Trusted Publishe… #1

Workflow file for this run

name: Publish to npm
on:
push:
tags:
- 'v*'
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm test
- run: npm publish --access public --provenance