Skip to content

Commit

Permalink
feat: CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
TMaize committed Jun 21, 2023
1 parent 54184a7 commit d6a1559
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ jobs:
with:
node-version: 16
registry-url: https://registry.npmjs.org # 发布时要用到
- name: Config Git # npm publish 必须
run: |
git config user.name github-actions
git config user.email github-actions@github.com
- name: Publish to NPM
run: |
yarn
Expand All @@ -26,10 +30,6 @@ jobs:
npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Config Git
run: |
git config user.name github-actions
git config user.email github-actions@github.com
- name: Publish Pages
run: |
cp -r .git test/ && cd test
Expand Down

0 comments on commit d6a1559

Please sign in to comment.