Skip to content

Commit 26db5e1

Browse files
ci: disable Yarn hardened mode for public PR installs (#549)
Yarn 4 auto-enables hardened mode on public PRs, blocking lockfile updates from dependabot. Set YARN_ENABLE_HARDENED_MODE=0 on the install step in all three jobs so CI can complete. Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 3f1672a commit 26db5e1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ jobs:
3939
4040
- name: Install dependencies
4141
run: yarn
42+
env:
43+
YARN_ENABLE_HARDENED_MODE: 0
4244

4345
- name: Lint
4446
run: yarn lint
@@ -77,6 +79,8 @@ jobs:
7779
7880
- name: Install dependencies
7981
run: yarn
82+
env:
83+
YARN_ENABLE_HARDENED_MODE: 0
8084

8185
- name: Build packages
8286
run: yarn build
@@ -231,6 +235,8 @@ jobs:
231235
232236
- name: Install dependencies
233237
run: yarn
238+
env:
239+
YARN_ENABLE_HARDENED_MODE: 0
234240

235241
- name: Build packages
236242
run: yarn build

0 commit comments

Comments
 (0)