Skip to content

Commit

Permalink
ci: yarn: freeze lockfile (#3171)
Browse files Browse the repository at this point in the history
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/
  • Loading branch information
alxndrsn authored Mar 15, 2024
1 parent 1190782 commit 1481f8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
with:
node-version: 18
cache: yarn
- run: yarn install
- run: yarn install --frozen-lockfile
- run: yarn lint
build:
needs: lint
Expand Down Expand Up @@ -68,6 +68,6 @@ jobs:
with:
node-version: ${{ matrix.node }}
cache: yarn
- run: yarn install
- run: yarn install --frozen-lockfile
# TODO(bmc): get ssl tests working in ci
- run: yarn test

0 comments on commit 1481f8d

Please sign in to comment.