Skip to content

Commit

Permalink
🐎 ci: 测试CI
Browse files Browse the repository at this point in the history
  • Loading branch information
hmydgz committed Jun 15, 2023
1 parent a6b3ae1 commit 3b168b1
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/build.action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://registry.npmjs.org/

- name: 安装 pnpm
uses: pnpm/action-setup@v2
Expand Down Expand Up @@ -49,13 +50,10 @@ jobs:

- name: 构建
run: pnpm run build

- name: 测试
run: cd dist && ls

# - run: npm publish --tag alpha
# env:
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

# publish-npm:
# needs: build
Expand Down

0 comments on commit 3b168b1

Please sign in to comment.