-
Notifications
You must be signed in to change notification settings - Fork 465
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: add CI configuration for Windows
Added windows-2016 as virtual environment. PR-URL: #948 Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Gabriel Schulhof <[email protected]>
- Loading branch information
1 parent
8ef0725
commit 5c63915
Showing
2 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Node.js CI Windows Platform | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
test: | ||
timeout-minutes: 30 | ||
strategy: | ||
matrix: | ||
node-version: [10.x, 12.x, 14.x, 15.x] | ||
os: | ||
- windows-latest | ||
- windows-2016 | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/[email protected] | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: Check Node.js installation | ||
run: | | ||
node --version | ||
npm --version | ||
- name: Install dependencies | ||
run: | | ||
npm install | ||
- name: npm test | ||
run: | | ||
npm run pretest -- --verbose | ||
node test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Node.js CI | ||
name: Node.js CI Unix Platform | ||
|
||
on: [push, pull_request] | ||
|
||
|