Skip to content

Commit 31e0f94

Browse files
committed
adds comment about using public NPM registry
1 parent 2c4be4b commit 31e0f94

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/build-and-test.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,13 @@ jobs:
2929
uses: actions/setup-node@v4
3030
with:
3131
node-version: ${{ matrix.node-version }}
32+
33+
# Note: if this step is failing due to authentication errors, it is likely because you regenerated the npm-shrinkwrap.json
34+
# file while your local NPM was set to use the coxauto artifactory NPM registry. To fix this, locally delete your node_modules
35+
# folder and npm-shrinkwrap.json file, then run `npm i --registry=https://registry.npmjs.org/` to reinstall using public NPM
36+
# and then `npm shrinkwrap` to regenerate the npm-shrinkwrap.json file.
3237
- name: Install dependencies
33-
run: npm ci --verbose
38+
run: npm ci
3439
- run: npm run build --if-present
3540
- name: Run tests
3641
run: npm test -- --no-watch

0 commit comments

Comments
 (0)