Skip to content

Publish Package to NPM #29

Publish Package to NPM

Publish Package to NPM #29

Workflow file for this run

name: Publish Package to npm
on:
workflow_dispatch:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "20.x"
registry-url: "https://registry.npmjs.org"
- run: bin/publish --tag latest
env:
YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}