Skip to content

Publish npm package #102

Publish npm package

Publish npm package #102

Workflow file for this run

name: Publish npm package
on:
release:
types: [released]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '16'
- run: npm pkg delete scripts.prepare
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}