Skip to content

Commit 6913775

Browse files
committed
chore(GithubAction): 去除发布到 github packages 的配置
1 parent 08cbad7 commit 6913775

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

.github/workflows/npm-publish.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
2-
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
31
# 在创建 release 后自动发布 npm 包
42

53

@@ -36,17 +34,3 @@ jobs:
3634
- run: npm publish
3735
env:
3836
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
39-
40-
publish-gpr:
41-
name: 发布到 github pkg
42-
needs: build
43-
runs-on: ubuntu-latest
44-
steps:
45-
- uses: actions/checkout@v2
46-
- uses: actions/setup-node@v1
47-
with:
48-
node-version: 12
49-
registry-url: https://npm.pkg.github.com/
50-
- run: npm publish
51-
env:
52-
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)