Skip to content

Commit ed3b1d0

Browse files
ci: tuning the build process
1 parent 625950b commit ed3b1d0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,14 @@ jobs:
1919
NODE_VER: 14.17.6
2020
steps:
2121
- uses: actions/checkout@v2
22+
23+
# Setup .npmrc file to publish to npm
24+
# https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
2225
- name: Use Node.js
23-
uses: actions/setup-node@v1
26+
uses: actions/setup-node@v2
2427
with:
2528
node-version: ${{ env.NODE_VER }}
29+
registry-url: 'https://registry.npmjs.org'
2630

2731
- run: npm ci
2832
env:

0 commit comments

Comments
 (0)