Skip to content

0.1.3

0.1.3 #3

Workflow file for this run

name: Publish Package to NPM
on:
release:
types:
- published
jobs:
build:
uses: ./.github/workflows/build.yml
test:
needs: build
uses: ./.github/workflows/test.yml
publish:
runs-on: ubuntu-latest
needs:
- build
- test
environment: npm-production
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/
- name: Download build artifact
uses: actions/download-artifact@v5
with:
name: package-dist
- name: Publish Package to NPM
run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}