Skip to content

v2.8.25-alpha.21

v2.8.25-alpha.21 #409

Workflow file for this run

# github action of publish package to npm via lerna
name: lerna-publish-package
on:
push:
tags:
- v*
jobs:
# 发布任务不检查代码风格
# lint:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - run: npm run lint
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '16'
- run: |
npm i
echo "//registry.npmjs.org/:_authToken=\${NODE_AUTH_TOKEN}" >> $HOME/.npmrc 2> /dev/null
npm run lerna:publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}