From 1317043c4181c7a3c16d635dc06e2f2a991cfa9d Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Mon, 27 Nov 2023 14:05:06 -0800 Subject: [PATCH] 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: '' ``` --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 051d200..aa031b9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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'