Skip to content

Commit 1481f8d

Browse files
authored
ci: yarn: freeze lockfile (#3171)
This should highlight when the yarn.lock file is out of sync with package.json. From the docs: > If you need reproducible dependencies, which is usually the case with the continuous integration systems, you should pass --frozen-lockfile flag. > - https://classic.yarnpkg.com/lang/en/docs/cli/install/
1 parent 1190782 commit 1481f8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
with:
1818
node-version: 18
1919
cache: yarn
20-
- run: yarn install
20+
- run: yarn install --frozen-lockfile
2121
- run: yarn lint
2222
build:
2323
needs: lint
@@ -68,6 +68,6 @@ jobs:
6868
with:
6969
node-version: ${{ matrix.node }}
7070
cache: yarn
71-
- run: yarn install
71+
- run: yarn install --frozen-lockfile
7272
# TODO(bmc): get ssl tests working in ci
7373
- run: yarn test

0 commit comments

Comments
 (0)