DEV: Use `--frozen-lockfile` in GitHub CI (#21338)

This will help us to catch missing lockfile changes before they are merged into `main`
This commit is contained in:
David Taylor 2023-05-02 16:25:22 +01:00 committed by GitHub
parent b505999266
commit c6f5b4297d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -65,7 +65,7 @@ jobs:
${{ runner.os }}-yarn-
- name: Yarn install
run: yarn install
run: yarn install --frozen-lockfile
- name: Rubocop
if: ${{ !cancelled() }}

View File

@ -98,7 +98,7 @@ jobs:
${{ runner.os }}-yarn-
- name: Yarn install
run: yarn install
run: yarn install --frozen-lockfile
- name: Checkout official plugins
if: matrix.target == 'plugins'
@ -272,7 +272,7 @@ jobs:
- name: Yarn install
working-directory: ./app/assets/javascripts/discourse
run: yarn install
run: yarn install --frozen-lockfile
- name: Ember Build
working-directory: ./app/assets/javascripts/discourse