Skip to content

v19.0.0-2

v19.0.0-2 #1

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@v3
with:
node-version: "20.x"
registry-url: "https://registry.npmjs.org"
- run: npm ci
- run: npm test
- run: npm publish --tag $(npx guess-npm-dist-tag)
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}