File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -29,13 +29,11 @@ jobs:
2929 - name : 📦 Install bundler dev deps (ts-jest, jest)
3030 shell : bash
3131 run : |
32- # Use a clean, token-free npm user config and explicit registry
33- printf "registry=https://registry.npmjs.org/\n" > "$RUNNER_TEMP/npmrc-public"
34- export NPM_CONFIG_USERCONFIG="$RUNNER_TEMP/npmrc-public"
35- # Ensure no local npmrc shadows config
36- rm -f test/bundler/.npmrc || true
32+ cd test/bundler
33+ # local, token‑free npmrc for this subfolder
34+ printf "registry=https://registry.npmjs.org/\n//registry.npmjs.org/:_authToken=\nalways-auth=false\n" > .npmrc
3735 # Install only what's needed for the preset (no lockfile, no scripts)
38- npm i -D ts-jest@29 jest@29 --no-audit --no-fund --ignore-scripts --prefer-online --registry=https://registry.npmjs.org/ --prefix test/bundler
36+ npm i -D ts-jest@29 jest@29 --no-audit --no-fund --ignore-scripts --prefer-online
3937 env :
4038 NPM_TOKEN : ' '
4139 NODE_AUTH_TOKEN : ' '
You can’t perform that action at this time.
0 commit comments