Skip to content

build: bump 2.4.0

build: bump 2.4.0 #7

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@v2
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v1
with:
node-version: '14.x'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
- name: Npm Publish
run: npm publish dist
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}