Skip to content

Commit 57d0aee

Browse files
committedDec 27, 2020
Fix CI on Windows
1 parent 447bcc9 commit 57d0aee

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed
 

‎.github/workflows/main.yml

+17-5
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ on:
44
- push
55
jobs:
66
main:
7-
name: '${{matrix.node}} on ${{matrix.os}}'
8-
runs-on: ${{matrix.os}}
7+
name: ${{matrix.node}}
8+
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/checkout@v2
1111
- uses: dcodeIO/setup-node-nvm@master
@@ -16,9 +16,21 @@ jobs:
1616
- uses: codecov/codecov-action@v1
1717
strategy:
1818
matrix:
19-
os:
20-
- ubuntu-latest
21-
- windows-latest
19+
node:
20+
- lts/dubnium
21+
- node
22+
windows:
23+
name: ${{matrix.node}}
24+
runs-on: windows-latest
25+
steps:
26+
- uses: actions/checkout@v2
27+
- uses: dcodeIO/setup-node-nvm@master
28+
with:
29+
node-version: ${{matrix.node}}
30+
- run: npm install
31+
- run: npm run test-api
32+
strategy:
33+
matrix:
2234
node:
2335
- lts/dubnium
2436
- node

0 commit comments

Comments
 (0)
Please sign in to comment.