Skip to content

Commit ae52528

Browse files
authored
chore(ci): fix deps not installing on CI for PRs from forks (#59)
1 parent aced75c commit ae52528

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.circleci/config.yml

+6
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ jobs:
8282
- restore_cache: *repo_cache
8383
- restore_cache: *deps_cache
8484
- restore_cache: *build_cache
85+
- run:
86+
name: Authenticate with registry
87+
command: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/repo/.npmrc
8588
- run: yarn release:canary --yes
8689

8790
release_stable:
@@ -90,6 +93,9 @@ jobs:
9093
- restore_cache: *repo_cache
9194
- restore_cache: *deps_cache
9295
- restore_cache: *build_cache
96+
- run:
97+
name: Authenticate with registry
98+
command: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/repo/.npmrc
9399
- run: yarn release:stable:ci --yes
94100

95101
workflows:

.npmrc

-1
This file was deleted.

0 commit comments

Comments
 (0)