Skip to content

v2.2.0

v2.2.0 #10

Workflow file for this run

name: Publish to npm
# Publish on push events with a tag v* on master branch
# Only if package.json version has been updated
on:
push:
tags:
- v*
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 16
- run: npm install
- run: npm run build
- run: npm test
- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}