Merge pull request #621 from lixinghua123/3.8.5-lxh #392
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "semantic-public-ci" | |
env: | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
on: | |
push: | |
branches: | |
- main | |
- alpha | |
- beta | |
workflow_dispatch: | |
inputs: | |
jobs: | |
release-pub: | |
name: "public" | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
persist-credentials: false | |
- name: install node js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: "18.9.0" | |
- name: npm install | |
run: npm install | |
- name: lerna bootstrap | |
run: npm run bootstrap | |
- name: lerna build | |
run: npm run build | |
- name: semantic publish | |
run: npm run semantic | |
env: | |
WEBHOOK_URL: ${{ secrets.WEBHOOK_URL }} |