mirror of
https://github.com/brianc/node-postgres.git
synced 2026-01-18 15:55:05 +00:00
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/
This commit is contained in:
parent
119078230e
commit
1481f8d1f4
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -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
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user