Skip to content

Commit 1317043

Browse files
authored
Add registry-url to setup-node in CI
I suspect this might be required to allow our authentication to work. From the [setup-node docs](https://github.com/actions/setup-node/#usage): ``` # Optional registry to set up for auth. Will set the registry in a project level .npmrc and .yarnrc file, # and set up auth to read in from env.NODE_AUTH_TOKEN. # Default: '' registry-url: '' ```
1 parent 5feda32 commit 1317043

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/ci.yml

+1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ jobs:
5151
- uses: actions/setup-node@v2
5252
with:
5353
node-version: 16.x
54+
registry-url: https://registry.npmjs.org/
5455
cache: 'yarn'
5556
- name: Build latest (main) version
5657
if: github.ref == 'refs/heads/main'

0 commit comments

Comments
 (0)