From 8899d2ed1323e185d8572d2855f63da03da6e001 Mon Sep 17 00:00:00 2001 From: dev-hari-prasad Date: Mon, 7 Sep 2026 03:48:02 +0530 Subject: [PATCH] ci: make yarn install --immutable explicit in CI workflows Yarn's enableImmutableInstalls already defaults to true when CI is set in the environment. Passing --immutable explicitly makes the intent clear and self-documenting in all CI workflows that invoke Yarn. --- .github/workflows/check-javascript-style.yml | 2 +- .github/workflows/run-feature-tests-epas.yml | 2 +- .github/workflows/run-feature-tests-pg.yml | 2 +- .github/workflows/run-javascript-tests.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/check-javascript-style.yml b/.github/workflows/check-javascript-style.yml index 974501a1114..d70350ae2a6 100644 --- a/.github/workflows/check-javascript-style.yml +++ b/.github/workflows/check-javascript-style.yml @@ -28,7 +28,7 @@ jobs: - name: Install Node modules run: | cd web - yarn install + yarn install --immutable - name: Run the linter run: | diff --git a/.github/workflows/run-feature-tests-epas.yml b/.github/workflows/run-feature-tests-epas.yml index 3d0442aa8d7..8ed22316800 100644 --- a/.github/workflows/run-feature-tests-epas.yml +++ b/.github/workflows/run-feature-tests-epas.yml @@ -150,7 +150,7 @@ jobs: - name: Build the JS bundle run: | cd web - yarn install + yarn install --immutable yarn run bundle - name: Run the tests diff --git a/.github/workflows/run-feature-tests-pg.yml b/.github/workflows/run-feature-tests-pg.yml index 90900ced5d0..93e163cb665 100644 --- a/.github/workflows/run-feature-tests-pg.yml +++ b/.github/workflows/run-feature-tests-pg.yml @@ -160,7 +160,7 @@ jobs: - name: Build the JS bundle run: | cd web - yarn install + yarn install --immutable yarn run bundle - name: Run the tests diff --git a/.github/workflows/run-javascript-tests.yml b/.github/workflows/run-javascript-tests.yml index 6648aafc42e..9a990c7ee83 100644 --- a/.github/workflows/run-javascript-tests.yml +++ b/.github/workflows/run-javascript-tests.yml @@ -37,7 +37,7 @@ jobs: - name: Install Node modules run: | cd web - yarn install + yarn install --immutable - name: Run the tests run: |