From 64b8e14f7a16bbe8ce291a8968309f980f2f428c Mon Sep 17 00:00:00 2001 From: hhvrc Date: Mon, 21 Oct 2024 11:20:28 +0200 Subject: [PATCH] maybe fix --- .github/actions/build-frontend/action.yml | 2 +- .github/workflows/get-vars.yml | 14 ++++++++------ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/actions/build-frontend/action.yml b/.github/actions/build-frontend/action.yml index b46753d8..1dd660db 100644 --- a/.github/actions/build-frontend/action.yml +++ b/.github/actions/build-frontend/action.yml @@ -35,7 +35,7 @@ runs: - name: Install dependencies working-directory: ./frontend shell: bash - run: pnpm install --frozen-lockfile + run: pnpm install --frozen-lockfile --strict-peer-dependencies - name: Check working-directory: ./frontend diff --git a/.github/workflows/get-vars.yml b/.github/workflows/get-vars.yml index 0eca08a4..3ed411aa 100644 --- a/.github/workflows/get-vars.yml +++ b/.github/workflows/get-vars.yml @@ -92,20 +92,22 @@ jobs: sparse-checkout: | .github + - uses: actions/setup-node@v4 + with: + node-version-file: ./.github/scripts/package.json + cache: 'pnpm' + cache-dependency-path: ./.github/scripts/pnpm-lock.yaml + - uses: pnpm/action-setup@v4 name: Install pnpm with: version: ${{ inputs.pnpm-version }} run_install: false - - uses: actions/setup-node@v4 - with: - node-version: ${{ inputs.node-version }} - cache: 'pnpm' - - name: Install dependencies + working-directory: ./.github/scripts shell: bash - run: pnpm install --frozen-lockfile + run: pnpm install --frozen-lockfile --strict-peer-dependencies - name: Get variables id: get-vars