Skip to content

publish

publish #20

Workflow file for this run

name: publish
on:
create:
tags:
- 'v*'
env:
BROWSERSLIST_IGNORE_OLD_DATA: true
jobs:
publish:
environment: production
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm test
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}