From 5b51edd17f1f1ae02b50a4cbddbc4f6e047018d4 Mon Sep 17 00:00:00 2001 From: Priya Patel Date: Fri, 29 May 2026 10:36:17 -0700 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20updates=20node=20and=20pn?= =?UTF-8?q?pm=20setup=20order=20(#3286)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/a11y-tests.yaml | 8 +++--- .github/workflows/build-admin-ui.yaml | 32 ++++++++++++------------ .github/workflows/monorepo-validate.yaml | 32 ++++++++++++------------ .github/workflows/test-e2e-admin-ui.yaml | 12 ++++----- .github/workflows/test-e2e-desktop.yaml | 12 ++++----- 5 files changed, 48 insertions(+), 48 deletions(-) diff --git a/.github/workflows/a11y-tests.yaml b/.github/workflows/a11y-tests.yaml index 2aa91f740..8cee9be9e 100644 --- a/.github/workflows/a11y-tests.yaml +++ b/.github/workflows/a11y-tests.yaml @@ -17,14 +17,14 @@ jobs: with: install-dependencies: true - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - - uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 #v6.0.8 - with: - run_install: false - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: node-version: 24 - cache: 'pnpm' + - uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 #v6.0.8 + with: + cache: true cache-dependency-path: '**/pnpm-lock.yaml' + run_install: false - run: pnpm install - name: Run a11y tests env: diff --git a/.github/workflows/build-admin-ui.yaml b/.github/workflows/build-admin-ui.yaml index d4afc1b2d..b4697169c 100644 --- a/.github/workflows/build-admin-ui.yaml +++ b/.github/workflows/build-admin-ui.yaml @@ -12,14 +12,14 @@ jobs: runs-on: ${{ fromJSON(vars.RUNNER) }} steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - - uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 #v6.0.8 - with: - run_install: false - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: node-version: 24 - cache: 'pnpm' + - uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 #v6.0.8 + with: + cache: true cache-dependency-path: '**/pnpm-lock.yaml' + run_install: false - run: pnpm install --frozen-lockfile build-admin-ui-oss: name: Build Admin UI OSS @@ -27,14 +27,14 @@ jobs: runs-on: ${{ fromJSON(vars.RUNNER) }} steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - - uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 #v6.0.8 - with: - run_install: false - name: Build uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: node-version: 24 - cache: 'pnpm' + - uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 #v6.0.8 + with: + run_install: false + cache: true cache-dependency-path: '**/pnpm-lock.yaml' - run: pnpm install --offline - run: pnpm run build:ui:admin:oss @@ -54,14 +54,14 @@ jobs: runs-on: ${{ fromJSON(vars.RUNNER) }} steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - - uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 #v6.0.8 - with: - run_install: false - name: Build uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: node-version: 24 - cache: 'pnpm' + - uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 #v6.0.8 + with: + run_install: false + cache: true cache-dependency-path: '**/pnpm-lock.yaml' - run: pnpm install --offline - run: pnpm run build:ui:admin:enterprise @@ -76,14 +76,14 @@ jobs: runs-on: ${{ fromJSON(vars.RUNNER) }} steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - - uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 #v6.0.8 - with: - run_install: false - name: Build uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: node-version: 24 - cache: 'pnpm' + - uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 #v6.0.8 + with: + run_install: false + cache: true cache-dependency-path: '**/pnpm-lock.yaml' - run: pnpm install --offline - run: pnpm run build:ui:admin:hcp diff --git a/.github/workflows/monorepo-validate.yaml b/.github/workflows/monorepo-validate.yaml index 0347dd806..b8bf6c6c9 100644 --- a/.github/workflows/monorepo-validate.yaml +++ b/.github/workflows/monorepo-validate.yaml @@ -7,14 +7,14 @@ jobs: runs-on: ${{ fromJSON(vars.RUNNER) }} steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - - uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 #v6.0.8 - with: - run_install: false - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: node-version: 24 - cache: 'pnpm' + - uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 #v6.0.8 + with: + cache: true cache-dependency-path: '**/pnpm-lock.yaml' + run_install: false - run: pnpm install --frozen-lockfile compliance: @@ -23,13 +23,13 @@ jobs: runs-on: ${{ fromJSON(vars.RUNNER) }} steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - - uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 #v6.0.8 - with: - run_install: false - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: node-version: 24 - cache: 'pnpm' + - uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 #v6.0.8 + with: + run_install: false + cache: true cache-dependency-path: '**/pnpm-lock.yaml' - run: pnpm install --offline - run: pnpm run compliance:licenses @@ -41,13 +41,13 @@ jobs: timeout-minutes: 5 steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - - uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 #v6.0.8 - with: - run_install: false - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: node-version: 24 - cache: 'pnpm' + - uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 #v6.0.8 + with: + run_install: false + cache: true cache-dependency-path: '**/pnpm-lock.yaml' - run: pnpm install --offline - run: pnpm lint @@ -62,13 +62,13 @@ jobs: with: install-dependencies: true - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - - uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 #v6.0.8 - with: - run_install: false - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: node-version: 24 - cache: 'pnpm' + - uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 #v6.0.8 + with: + run_install: false + cache: true cache-dependency-path: '**/pnpm-lock.yaml' - run: pnpm install --offline - run: pnpm test diff --git a/.github/workflows/test-e2e-admin-ui.yaml b/.github/workflows/test-e2e-admin-ui.yaml index e613d4ac8..473d338cc 100644 --- a/.github/workflows/test-e2e-admin-ui.yaml +++ b/.github/workflows/test-e2e-admin-ui.yaml @@ -56,19 +56,19 @@ jobs: with: fetch-depth: 0 - - name: Set up pnpm - uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 #v6.0.8 - with: - run_install: false - - name: Set up Node uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: node-version: 24 - cache: "pnpm" + + - name: Set up pnpm + uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 #v6.0.8 + with: + cache: true cache-dependency-path: | pnpm-lock.yaml ui/desktop/electron-app/pnpm-lock.yaml + run_install: false - name: Set up Terraform uses: hashicorp/setup-terraform@5e8dbf3c6d9deaf4193ca7a8fb23f2ac83bb6c85 diff --git a/.github/workflows/test-e2e-desktop.yaml b/.github/workflows/test-e2e-desktop.yaml index 0ef312ce5..89ce71ac3 100644 --- a/.github/workflows/test-e2e-desktop.yaml +++ b/.github/workflows/test-e2e-desktop.yaml @@ -32,19 +32,19 @@ jobs: with: fetch-depth: 0 - - name: Set up pnpm - uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 #v6.0.8 - with: - run_install: false - - name: Set up Node uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: node-version: 24 - cache: "pnpm" + + - name: Set up pnpm + uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 #v6.0.8 + with: + cache: true cache-dependency-path: | pnpm-lock.yaml ui/desktop/electron-app/pnpm-lock.yaml + run_install: false - name: Set up Terraform uses: hashicorp/setup-terraform@5e8dbf3c6d9deaf4193ca7a8fb23f2ac83bb6c85