From d24f7a3eac96866d44d09cbe4d407bd8771d2ee0 Mon Sep 17 00:00:00 2001 From: Nikola Irinchev Date: Tue, 12 Nov 2024 09:09:55 +0100 Subject: [PATCH] Another attempt --- .github/workflows/smoke-tests.yml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/smoke-tests.yml b/.github/workflows/smoke-tests.yml index 4d458fb88..6028b71d9 100644 --- a/.github/workflows/smoke-tests.yml +++ b/.github/workflows/smoke-tests.yml @@ -16,18 +16,16 @@ jobs: node: [20.x, 22.x, 23.x] fail-fast: false runs-on: ${{ matrix.runner }} + timeout-minutes: 15 + env: + npm_config_loglevel: verbose + npm_config_foreground_scripts: true steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} - - name: Get npm cache directory - id: npm-cache-dir - shell: bash - run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT} - - uses: actions/cache@v4 - with: - key: ${{ matrix.runner }}-node-${{ matrix.node }}-${{ hashFiles('package-lock.json') }} - path: ${{ steps.npm-cache-dir.outputs.dir }} - - run: npm ci --loglevel verbose + cache: "npm" + - run: npm install -g npm@10 + - run: npm ci - run: npm run test-smoke