Skip to content

Commit

Permalink
base. Git CI 构建顺序
Browse files Browse the repository at this point in the history
  • Loading branch information
wdssmq committed Sep 2, 2022
1 parent 345b69c commit 6b35c02
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/push_def.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org
- name: Install & Build & Publish
run: |
npm install
npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
# Build Release
- name: Copy
run: |
rm -rf script_def
Expand Down Expand Up @@ -54,3 +44,15 @@ jobs:
name: ${{ env.PUB_NAME }} Build ${{ env.TAG }}
body: ${{ env.PUB_NAME }} Build ${{ env.TAG }} Release.
files: ${{ env.PUB_NAME }}.tar.gz
# Build Publish
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org
- name: Install & Build & Publish
run: |
npm install
npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 6b35c02

Please sign in to comment.