Use --frozen-lock

This commit is contained in:
Adria Navarro 2023-07-27 18:11:34 +02:00
parent e5ceaf8ffd
commit 800f5c5095
1 changed files with 6 additions and 6 deletions

View File

@ -38,7 +38,7 @@ jobs:
with:
node-version: 18.x
cache: "yarn"
- run: yarn
- run: yarn --frozen-lockfile
- run: yarn lint
build:
@ -59,7 +59,7 @@ jobs:
with:
node-version: 18.x
cache: "yarn"
- run: yarn
- run: yarn --frozen-lockfile
# Run build all the projects
- run: yarn build
# Check the types of the projects built via esbuild
@ -83,7 +83,7 @@ jobs:
with:
node-version: 18.x
cache: "yarn"
- run: yarn
- run: yarn --frozen-lockfile
- run: yarn test --ignore=@budibase/worker --ignore=@budibase/server --ignore=@budibase/pro
- uses: codecov/codecov-action@v3
with:
@ -109,7 +109,7 @@ jobs:
with:
node-version: 18.x
cache: "yarn"
- run: yarn
- run: yarn --frozen-lockfile
- name: Test worker and server
run: yarn test --concurrency=1 --scope=@budibase/worker --scope=@budibase/server
- uses: codecov/codecov-action@v3
@ -133,7 +133,7 @@ jobs:
with:
node-version: 18.x
cache: "yarn"
- run: yarn
- run: yarn --frozen-lockfile
- run: yarn test --scope=@budibase/pro
integration-test:
@ -154,7 +154,7 @@ jobs:
with:
node-version: 18.x
cache: "yarn"
- run: yarn
- run: yarn --frozen-lockfile
- run: yarn build
- name: Run tests
run: |