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