Skip to content

v2.0.0

v2.0.0 #2

Workflow file for this run

name: release
permissions:
contents: read
id-token: write
on:
release:
types: [published]
jobs:
publish:
runs-on: ubuntu-latest
environment: production
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup node
uses: actions/setup-node@v4
with:
node-version: '20'
registry-url: 'https://registry.npmjs.org'
- name: npm ci
run: npm ci
- name: npm publish
run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}