Skip to content

v1.0.0

v1.0.0 #1

Workflow file for this run

name: Publish
on:
release:
types: [created]
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v4
with:
node-version-file: .node-version
registry-url: https://registry.npmjs.org
- run: npm ci
- run: npm run build
- name: Publish package to JSR
run: npx jsr publish
- name: Publish package to NPM
run: npm publish --provenance
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}