Skip to content

v19.1.1

v19.1.1 #7

Workflow file for this run

name: Publish package to npm
on:
release:
types: [published]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20.x"
registry-url: "https://registry.npmjs.org"
- run: npm run init:examples
- run: npm ci
- run: npm test
- run: npm publish --tag $(npx guess-npm-dist-tag)
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}