Skip to content

Publish to NPM

Publish to NPM #1

Workflow file for this run

name: Publish to NPM
on:
push:
# Sequence of patterns matched against refs/tags
tags:
- "*" # Push events to matching any tag format, i.e. 1.0, 20.15.10
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- shell: bash
run: npm install && npm run prepublishOnly
- uses: JS-DevTools/npm-publish@v2
with:
token: ${{ secrets.NPM_TOKEN }}
access: public
dry-run: true