Skip to content
This repository was archived by the owner on Sep 11, 2025. It is now read-only.

Commit 73d920b

Browse files
authored
ci: run GitHub Actions on Windows (#166)
1 parent 9085d3a commit 73d920b

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto eol=lf

.github/workflows/nodejs.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ on:
66
branches: [ master ]
77
jobs:
88
build:
9-
env:
10-
CI: true
11-
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
platform: [ubuntu-latest, windows-latest]
12+
runs-on: ${{ matrix.platform }}
1213
steps:
1314
- uses: actions/checkout@v2
1415
- name: Use Node.js
@@ -24,6 +25,7 @@ jobs:
2425
- name: Install dependencies
2526
run: npm install
2627
- name: Install required apt dependencies
28+
if: ${{ matrix.platform == 'ubuntu-latest' }}
2729
run: |
2830
sudo apt-get update
2931
sudo apt-get install libgbm-dev
@@ -33,13 +35,7 @@ jobs:
3335
run: npm run build
3436
- name: Run tests
3537
run: npm run test
36-
- name: Coveralls Parallel
38+
- name: Coveralls
3739
uses: coverallsapp/github-action@master
3840
with:
3941
github-token: ${{ secrets.GITHUB_TOKEN }}
40-
parallel: true
41-
- name: Coveralls Finished
42-
uses: coverallsapp/github-action@master
43-
with:
44-
github-token: ${{ secrets.GITHUB_TOKEN }}
45-
parallel-finished: true

0 commit comments

Comments
 (0)