Skip to content

Commit 13e2695

Browse files
Use --frozen-lockfile in yarn install commands (#1262)
Updated yarn install command to use --frozen-lockfile option for consistency and to prevent unintended changes to the yarn.lock file.
1 parent 2e26316 commit 13e2695

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/validate.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
*/*/node_modules
5151
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
5252
- name: Install
53-
run: yarn install
53+
run: yarn install --frozen-lockfile
5454
- name: Check format
5555
run: yarn format
5656
- name: Lint
@@ -75,7 +75,7 @@ jobs:
7575
*/*/node_modules
7676
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
7777
- name: Install
78-
run: yarn install
78+
run: yarn install --frozen-lockfile
7979
- name: Test
8080
run: yarn test
8181

@@ -99,7 +99,7 @@ jobs:
9999
/home/runner/.cache/Cypress
100100
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
101101
- name: Install
102-
run: yarn install
102+
run: yarn install --frozen-lockfile
103103
- name: Build
104104
run: yarn build
105105
- name: Cypress

0 commit comments

Comments
 (0)