WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 419c0e5

Browse files
committed
add npm deploy
1 parent 17acf8a commit 419c0e5

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.github/workflows/publish-github.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,19 @@ jobs:
1818
- run: yarn
1919
- run: yarn build
2020

21-
# publish-npm:
22-
# needs: build
23-
# runs-on: ubuntu-latest
24-
# steps:
25-
# - uses: actions/checkout@v2
26-
# - uses: actions/setup-node@v1
27-
# with:
28-
# node-version: 12
29-
# registry-url: https://registry.npmjs.org/
30-
# - run: npm ci
31-
# - run: npm publish
32-
# env:
33-
# NODE_AUTH_TOKEN: ${{secrets.npm_token}}
21+
publish-npm:
22+
needs: build
23+
runs-on: ubuntu-latest
24+
steps:
25+
- uses: actions/checkout@v2
26+
- uses: actions/setup-node@v1
27+
with:
28+
node-version: 12
29+
registry-url: https://registry.npmjs.org/
30+
- run: yarn
31+
- run: yarn publish
32+
env:
33+
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
3434

3535
publish-gpr:
3636
needs: build

0 commit comments

Comments
 (0)