From d921f938af7cba53b9a8d4ec5e3e8bd40092cfbd Mon Sep 17 00:00:00 2001 From: asyncapi-bot Date: Mon, 8 Apr 2024 12:17:39 +0000 Subject: [PATCH] ci: update of files from global .github repo --- .github/workflows/if-nodejs-pr-testing.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/if-nodejs-pr-testing.yml b/.github/workflows/if-nodejs-pr-testing.yml index 6b3af753492..73a2af5c296 100644 --- a/.github/workflows/if-nodejs-pr-testing.yml +++ b/.github/workflows/if-nodejs-pr-testing.yml @@ -41,7 +41,7 @@ jobs: git config --global core.eol lf - if: steps.should_run.outputs.shouldrun == 'true' name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v3 - if: steps.should_run.outputs.shouldrun == 'true' name: Check if Node.js project and has package.json id: packagejson @@ -53,7 +53,7 @@ jobs: id: lockversion - if: steps.packagejson.outputs.exists == 'true' name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v3 with: node-version: "${{ steps.lockversion.outputs.version }}" cache: 'npm' @@ -65,14 +65,9 @@ jobs: continue-on-error: true - if: steps.first-installation.outcome != 'success' && steps.packagejson.outputs.exists == 'true' name: Clear NPM cache and install deps again - id: second-installation run: | npm cache clean --force npm ci - continue-on-error: true - - if: steps.second-installation.outcome != 'success' && steps.packagejson.outputs.exists == 'true' - name: Install without cache - run: npm ci --no-cache - if: steps.packagejson.outputs.exists == 'true' name: Test run: npm test --if-present