Skip to content

chore: add publishConfig with provenance and public access #2

chore: add publishConfig with provenance and public access

chore: add publishConfig with provenance and public access #2

Workflow file for this run

name: Publish
on:
push:
tags: ['v*']
workflow_dispatch:
permissions:
id-token: write
contents: read
jobs:
publish:
runs-on: ubuntu-latest
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 run build
- run: npm run lint
- run: npm test
- run: npm publish
env:
NPM_CONFIG_PROVENANCE: true