Skip to content

修复provide事件错误的bug #38

修复provide事件错误的bug

修复provide事件错误的bug #38

Workflow file for this run

name: Npm Publish
on:
push:
branches:
- master
paths:
- 'package.json'
jobs:
build-and-publish:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- name: Checkout
uses: actions/checkout@v2 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly.
with:
persist-credentials: false
- name: Install and Build
run: |
npm install
npm run-script build
- name: run publish
uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_AUTH_TOKEN }}