Skip to content

v3.1.1

v3.1.1 #36

Workflow file for this run

name: Publish to NPM
on:
release:
types: [created]
workflow_dispatch:
jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- run: |
npm install --audit=false --fund=false --package-lock=false
npm test
npm publish --access public --tag latest
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}