Skip to content

Commit 70209e9

Browse files
committed
ci(create-e2e): disable yarn hardened mode for lockfile creation
Yarn Berry enables hardened mode on public PRs which blocks lockfile creation (YN0028). Set YARN_ENABLE_HARDENED_MODE=0 so vp create can generate fresh lockfiles in the e2e test.
1 parent 78f37f5 commit 70209e9

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/test-vp-create.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,9 @@ jobs:
172172
173173
- name: Run vp create ${{ matrix.template.name }} with ${{ matrix.package-manager }}
174174
working-directory: ${{ runner.temp }}
175+
env:
176+
# Yarn Berry enables hardened mode on public PRs, blocking lockfile creation
177+
YARN_ENABLE_HARDENED_MODE: '0'
175178
run: |
176179
vp create ${{ matrix.template.create-args }} \
177180
--no-interactive \

0 commit comments

Comments
 (0)