From 975bbeb8f3d14e331509c7bc9fb896c05c278881 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Gonz=C3=A1lez=20Mu=C3=B1oz?= Date: Mon, 9 Dec 2024 11:24:26 +0100 Subject: [PATCH] fix client CI try #4 --- .github/workflows/client_ci_cd.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/client_ci_cd.yml b/.github/workflows/client_ci_cd.yml index 9402ea6..b273de6 100644 --- a/.github/workflows/client_ci_cd.yml +++ b/.github/workflows/client_ci_cd.yml @@ -2,6 +2,10 @@ name: Client CI/CD on: [push, workflow_dispatch] +defaults: + run: + working-directory: client + env: NEXT_PUBLIC_BASE_PATH: "" @@ -10,6 +14,7 @@ jobs: name: Run client tests runs-on: ubuntu-22.04 + steps: - name: Checkoutī¸ uses: actions/checkout@v4 @@ -17,9 +22,13 @@ jobs: - name: Node setup uses: actions/setup-node@v4 with: - node-version-file: 'client/.nvmrc' + node-version-file: .nvmrc - uses: pnpm/action-setup@v4 + with: + run_install: | + - recursive: true + args: [--frozen-lockfile, --prod] - name: Cache dependencies uses: actions/cache@v3