fix: Use existing yarn.lock as-is in CI (#11497)

* Update github workflows to use the lockfile in the codebase and not update it

* Fix jobs array formatting
This commit is contained in:
Abhinav Jha 2022-03-21 11:43:42 +05:30 committed by GitHub
parent c97b7e31e7
commit 91ead4f864
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 11 additions and 11 deletions

View File

@ -103,7 +103,7 @@ jobs:
# Install all the dependencies
- name: Install dependencies
if: steps.run_result.outputs.run_result != 'success'
run: yarn install
run: yarn install --frozen-lockfile
- name: Set the build environment based on the branch
if: steps.run_result.outputs.run_result != 'success'
@ -609,7 +609,7 @@ jobs:
# Install all the dependencies
- name: Install dependencies
if: steps.run_result.outputs.run_result != 'success'
run: yarn install
run: yarn install --frozen-lockfile
- name: Download the react build artifact
if: steps.run_result.outputs.run_result != 'success'

View File

@ -77,7 +77,7 @@ jobs:
# Install all the dependencies
- name: Install dependencies
run: yarn install
run: yarn install --frozen-lockfile
- name: Set the build environment based on the branch
id: vars

View File

@ -76,7 +76,7 @@ jobs:
${{ runner.OS }}-
- name: Install dependencies
run: yarn install
run: yarn install --frozen-lockfile
- name: Create the bundle
env:

View File

@ -214,7 +214,7 @@ jobs:
# Install all the dependencies
- name: Install dependencies
if: steps.run_result.outputs.run_result != 'success'
run: yarn install
run: yarn install --frozen-lockfile
- name: Set the build environment based on the branch
if: steps.run_result.outputs.run_result != 'success'
@ -772,7 +772,7 @@ jobs:
fail-fast: false
matrix:
job: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23]
# Service containers to run with this job. Required for running tests
services:
# Label used to access the service container
@ -871,7 +871,7 @@ jobs:
# Install all the dependencies
- name: Install dependencies
if: steps.run_result.outputs.run_result != 'success'
run: yarn install
run: yarn install --frozen-lockfile
- name: Download the react build artifact
if: steps.run_result.outputs.run_result != 'success'
@ -1363,7 +1363,7 @@ jobs:
# Install all the dependencies
- name: Install dependencies
if: steps.run_result.outputs.run_result != 'success'
run: yarn install
run: yarn install --frozen-lockfile
- name: Download the react build artifact
if: steps.run_result.outputs.run_result != 'success'
@ -1446,7 +1446,7 @@ jobs:
if: steps.run_result.outputs.run_result != 'success'
working-directory: app/client/perf
shell: bash
run: yarn install
run: yarn install --frozen-lockfile
- name: Change test script permissions
if: steps.run_result.outputs.run_result != 'success'

View File

@ -109,7 +109,7 @@ jobs:
# Install all the dependencies
- name: Install dependencies
if: steps.run_result.outputs.run_result != 'success'
run: yarn install
run: yarn install --frozen-lockfile
- name: Set the build environment based on the branch
if: steps.run_result.outputs.run_result != 'success'
@ -944,7 +944,7 @@ jobs:
# Install all the dependencies
- name: Install dependencies
if: steps.run_result.outputs.run_result != 'success'
run: yarn install
run: yarn install --frozen-lockfile
- name: Download the react build artifact
if: steps.run_result.outputs.run_result != 'success'