From 2f63744c28af692441b1876289fe5ec7fbff97b9 Mon Sep 17 00:00:00 2001 From: MaksimZhukov <46996400+MaksimZhukov@users.noreply.github.com> Date: Mon, 8 Apr 2024 15:28:23 +0200 Subject: [PATCH] Update if-nodejs-pr-testing.yml --- .github/workflows/if-nodejs-pr-testing.yml | 39 +++++++++------------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/.github/workflows/if-nodejs-pr-testing.yml b/.github/workflows/if-nodejs-pr-testing.yml index d29061c30bd..188af35bf16 100644 --- a/.github/workflows/if-nodejs-pr-testing.yml +++ b/.github/workflows/if-nodejs-pr-testing.yml @@ -8,30 +8,25 @@ on: workflow_dispatch: jobs: - # test-nodejs-pr: - # name: Test NodeJS PR - ${{ matrix.os }} - # runs-on: ${{ matrix.os }} - # strategy: - # matrix: - # os: [ubuntu-latest, macos-latest, windows-latest] - # steps: - # - name: Checkout repository - # uses: actions/checkout@v4 + test-nodejs-pr-1: + name: Test NodeJS PR - ${{ matrix.os }} + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, macos-latest, windows-latest] + steps: + - name: Checkout repository + uses: actions/checkout@v4 - # - name: Setup Node.js - # uses: actions/setup-node@v4 - # with: - # node-version: 16 - # # cache: 'npm' - # # cache-dependency-path: '**/package-lock.json' - - # - name: npm -v - # run: npm -v + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: 16 - # - name: Install dependencies - # run: npm ci + - name: Install dependencies + run: npm ci - test-nodejs-pr-fail: + test-nodejs-pr-2: name: Test NodeJS PR - ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy: @@ -45,8 +40,6 @@ jobs: uses: actions/setup-node@v4 with: node-version: 18 - # cache: 'npm' - # cache-dependency-path: '**/package-lock.json' - name: npm -v run: |