Skip to content

Commit 54b3fab

Browse files
committed
chore: skip windows npm 6 tests
1 parent 74a88ef commit 54b3fab

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

.github/workflows/node.js.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,24 @@ jobs:
1010
strategy:
1111
matrix:
1212
node-version: [14, 16, 18]
13-
os: [ubuntu-latest, windows-latest, macOS-latest]
13+
os: [ubuntu-latest, macOS-latest]
14+
steps:
15+
- uses: actions/checkout@v3
16+
- uses: actions/setup-node@v3
17+
with:
18+
node-version: ${{ matrix.node-version }}
19+
- run: npm --version
20+
- run: npm ci --ignore-scripts
21+
- run: npm test
22+
23+
# Node 14 comes with npm 6 which has issues on Windows
24+
# Skipping tests on Windows with Node 14
25+
build-windows:
26+
runs-on: ${{ matrix.os }}
27+
strategy:
28+
matrix:
29+
node-version: [16, 18]
30+
os: [windows-latest]
1431
steps:
1532
- uses: actions/checkout@v3
1633
- uses: actions/setup-node@v3

0 commit comments

Comments
 (0)