Skip to content

Commit f0f41ac

Browse files
authored
fix(gh-tests): Fix local npm registry config (#692)
<!-- Pull requests are squash merged using: - their title as the commit message - their description as the commit body Having a good title and description is important for the users to get readable changelog. --> <!-- 1. Explain below WHAT the change is --> Fix the NPM registry config in the Github tests. <!-- 2. Explain below WHY the change cannot be made simpler --> <!-- 3. Explain below WHY the was made or link an issue number --> <!-- 4. Explain HOW users should update their code or remove that section --> #### Migration notes _N/A_ <!-- 5. Readiness checklist - [ ] The change come with new or modified tests - [ ] Hard-to-understand functions have explanatory comments - [ ] End-user documentation is updated to reflect the change -->
1 parent d2e691f commit f0f41ac

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,6 @@ jobs:
262262
- shell: bash
263263
env:
264264
WASM_FILE: target/debug/typegraph_core.wasm
265-
NPM_CONFIG_REGISTRY: http://localhost:4873
266265
run: |
267266
echo pwd in $(pwd)
268267
@@ -292,6 +291,8 @@ jobs:
292291
# start the docker containers
293292
deno run -A dev/env.ts base prisma
294293
294+
export NPM_CONFIG_REGISTRY=http://localhost:4873
295+
295296
# publish the sdk to the local registry
296297
cd typegraph/node/sdk/dist
297298
npm config set "//localhost:4873/:_authToken" fooBar

0 commit comments

Comments
 (0)