Skip to content

v16.0.0-beta-3

v16.0.0-beta-3 #5

Workflow file for this run

name: publish pre-releases as beta to npmjs
on:
release:
types: [prereleased]
jobs:
publish-as-beta:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 21.x
registry-url: https://registry.npmjs.org
- run: npm clean-install
- run: npm publish --provenance --access public --tag beta
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}