Skip to content

Commit

Permalink
Update if-nodejs-pr-testing.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MaksimZhukov authored Apr 8, 2024
1 parent e7bdf75 commit 2f63744
Showing 1 changed file with 16 additions and 23 deletions.
39 changes: 16 additions & 23 deletions .github/workflows/if-nodejs-pr-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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: |
Expand Down

0 comments on commit 2f63744

Please sign in to comment.