mirror of
https://github.com/discourse/discourse.git
synced 2025-03-03 15:12:11 +08:00
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:
parent
b505999266
commit
c6f5b4297d
2
.github/workflows/linting.yml
vendored
2
.github/workflows/linting.yml
vendored
@ -65,7 +65,7 @@ jobs:
|
||||
${{ runner.os }}-yarn-
|
||||
|
||||
- name: Yarn install
|
||||
run: yarn install
|
||||
run: yarn install --frozen-lockfile
|
||||
|
||||
- name: Rubocop
|
||||
if: ${{ !cancelled() }}
|
||||
|
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user