Skip to content

Commit c5d159e

Browse files
authored
Use yarn install --immutable in CI to prevent supply chain attacks (#677)
1 parent a688890 commit c5d159e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030

3131
- name: Install dependencies
3232
if: steps.cache-node-modules.outputs.cache-hit != 'true'
33-
run: yarn install
33+
run: yarn install --immutable
3434

3535
- name: Check formatting
3636
run: yarn check-formatting
@@ -72,7 +72,7 @@ jobs:
7272

7373
- name: Install dependencies
7474
if: steps.cache-node-modules.outputs.cache-hit != 'true'
75-
run: yarn install
75+
run: yarn install --immutable
7676

7777
- name: Build
7878
run: yarn build

0 commit comments

Comments
 (0)