Skip to content
This repository was archived by the owner on Mar 14, 2023. It is now read-only.

Commit ccb776a

Browse files
author
Yovangga Anandhika
committed
Update node.js.yml
1 parent 528b138 commit ccb776a

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/node.js.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,24 @@ jobs:
1818
node-version: 17.9.0
1919
- run: yarn run build
2020

21-
publish-npm:
21+
create-npmrc:
2222
needs: build
2323
runs-on: ubuntu-latest
24+
steps:
25+
- uses: ferluisxd/create-npmrc@3
26+
with:
27+
org_name: dkaframework
28+
auth_token: ${{ secrets.GIT_TOKEN }}
29+
30+
publish-npm:
31+
needs: create-npmrc
32+
runs-on: ubuntu-latest
2433
steps:
2534
- uses: actions/checkout@v3
2635
- uses: actions/setup-node@v3
2736
with:
2837
node-version: 17.9.0
2938
registry-url: https://npm.pkg.github.com
30-
- uses: ferluisxd/create-npmrc@3
31-
with:
32-
org_name: dkaframework
33-
auth_token: ${{ secrets.GIT_TOKEN }}
3439
- uses: JS-DevTools/npm-publish@v1
3540
with:
3641
token: ${{ secrets.NPM_SECRET }}

0 commit comments

Comments
 (0)