Skip to content

Commit 5c66cc9

Browse files
committed
allow local PRs without lockfiles to build
1 parent d19ae53 commit 5c66cc9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,5 @@ runs:
1616
- name: Install dependencies
1717
run: yarn install
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)