Skip to content

Commit

Permalink
Add registry-url to setup-node in CI
Browse files Browse the repository at this point in the history
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: ''
```
  • Loading branch information
captbaritone authored Nov 27, 2023
1 parent 5feda32 commit 1317043
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 16.x
registry-url: https://registry.npmjs.org/
cache: 'yarn'
- name: Build latest (main) version
if: github.ref == 'refs/heads/main'
Expand Down

0 comments on commit 1317043

Please sign in to comment.