Skip to content

docs: 完善文档

docs: 完善文档 #9

Workflow file for this run

name: publish npm
on:
push:
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@master
with:
node-version: 16
registry-url: 'https://registry.npmjs.org'
# - name: authority npm
# run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
- name: Install
run: npm install
- name: Publish to NPM
run: npm publish || true
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}