From 3016364e7fee929875519af48fb7b0e0b59f1959 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20Wikstr=C3=B6m?= Date: Thu, 9 Jan 2025 15:14:13 +0200 Subject: [PATCH] npm ci erikseen fronttitesteille --- .github/actions/koski_frontend_test/action.yml | 4 ++++ .github/actions/setup_backend/action.yml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/actions/koski_frontend_test/action.yml b/.github/actions/koski_frontend_test/action.yml index f2f9ade601..95df9d1461 100644 --- a/.github/actions/koski_frontend_test/action.yml +++ b/.github/actions/koski_frontend_test/action.yml @@ -12,6 +12,10 @@ runs: - name: "🔨 Setup backend and databases" uses: ./.github/actions/setup_backend + - name: npm ci + run: cd web && npm ci + shell: bash + - name: Run frontend tests env: MOCHA_SHARD_INDEX: ${{inputs.shardIndex}} diff --git a/.github/actions/setup_backend/action.yml b/.github/actions/setup_backend/action.yml index 6adafecef5..00bffd3b7a 100644 --- a/.github/actions/setup_backend/action.yml +++ b/.github/actions/setup_backend/action.yml @@ -8,7 +8,7 @@ runs: architecture: "x64" distribution: "zulu" - - name: Setup Node 16 + - name: Setup Node uses: actions/setup-node@v3 with: node-version: "20.17.0"