Skip to content

Commit 8d76bf9

Browse files
committed
allow local PRs without lockfiles to build
1 parent d19ae53 commit 8d76bf9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/actions/setup-node/action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,7 @@ runs:
1414
node-version-file: .node-version
1515

1616
- name: Install dependencies
17-
run: yarn install
17+
run: yarn install --no-immutable
1818
shell: bash
19+
env:
20+
YARN_ENABLE_HARDENED_MODE: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork && '1' || '0' }}

0 commit comments

Comments
 (0)