Skip to content

8.20.2

8.20.2 #12

Workflow file for this run

name: Publish Package to npmjs
on:
release:
types: [published]
workflow_dispatch: # 👈 allows you to trigger manually from the Actions tab
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- name: Checkout repository
uses: actions/checkout@v5
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: '24.x'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm install
- name: browser build
run: npm run build-browser
- name: Dry run publish with provenance
run: npm publish --provenance --access public --tag 8x
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}