Use yarn 1.22.19 across all CI steps.

This commit is contained in:
mike12345567 2024-03-27 12:05:44 +00:00
parent 4fa98f17d2
commit e36ec14163
1 changed files with 6 additions and 1 deletions

View File

@ -43,7 +43,7 @@ jobs:
with: with:
node-version: 20.x node-version: 20.x
cache: yarn cache: yarn
- run: yarn policies set-version 1.22.19 - run: yarn set version 1.22.19
- run: yarn --frozen-lockfile - run: yarn --frozen-lockfile
- run: yarn lint - run: yarn lint
@ -62,6 +62,7 @@ jobs:
with: with:
node-version: 20.x node-version: 20.x
cache: yarn cache: yarn
- run: yarn set version 1.22.19
- run: yarn --frozen-lockfile - run: yarn --frozen-lockfile
# Run build all the projects # Run build all the projects
@ -104,6 +105,7 @@ jobs:
with: with:
node-version: 20.x node-version: 20.x
cache: yarn cache: yarn
- run: yarn set version 1.22.19
- run: yarn --frozen-lockfile - run: yarn --frozen-lockfile
- name: Test - name: Test
run: | run: |
@ -128,6 +130,7 @@ jobs:
with: with:
node-version: 20.x node-version: 20.x
cache: yarn cache: yarn
- run: yarn set version 1.22.19
- run: yarn --frozen-lockfile - run: yarn --frozen-lockfile
- name: Test worker - name: Test worker
run: | run: |
@ -165,6 +168,7 @@ jobs:
docker pull testcontainers/ryuk:0.5.1 docker pull testcontainers/ryuk:0.5.1
docker pull budibase/couchdb docker pull budibase/couchdb
- run: yarn set version 1.22.19
- run: yarn --frozen-lockfile - run: yarn --frozen-lockfile
- name: Test server - name: Test server
@ -189,6 +193,7 @@ jobs:
with: with:
node-version: 20.x node-version: 20.x
cache: yarn cache: yarn
- run: yarn set version 1.22.19
- run: yarn --frozen-lockfile - run: yarn --frozen-lockfile
- name: Build packages - name: Build packages
run: yarn build --scope @budibase/server --scope @budibase/worker run: yarn build --scope @budibase/server --scope @budibase/worker