Skip to content

2.2.2

2.2.2 #19

Workflow file for this run

# see https://help.github.com/cn/actions/language-and-framework-guides/publishing-nodejs-packages
name: Node.js Package
on:
push:
tags: ['*']
jobs:
publish:
name: 'Publish'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v3
with:
node-version: '12.x'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm install
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}