Skip to content

Commit

Permalink
CI: Also run tests on Windows (#984)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhwgh1968 authored and dcodeIO committed Dec 2, 2019
1 parent d88a654 commit 156dab9
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,29 @@ jobs:
run: npm run build
- name: Test distribution
run: npm test
test-windows:
name: "Test compiler on Windows with node: node"
runs-on: windows-latest
needs: check
steps:
- uses: actions/checkout@v1.0.0
- name: Install node via nvm-windows
run: |
Invoke-WebRequest -Uri https://github.com/coreybutler/nvm-windows/releases/download/1.1.7/nvm-noinstall.zip -OutFile nvm.zip
Expand-Archive nvm.zip -DestinationPath nvm
nvm/nvm install node
nvm/nvm use node
npm -g install npm@latest
- name: Install dependencies
run: npm ci --no-audit
- name: Clean distribution files
run: npm run clean
- name: Test sources
run: npm test
- name: Build distribution files
run: npm run build
- name: Test distribution
run: npm test
test-canary:
name: "Test features on node: v8-canary"
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ under the licensing terms detailed in LICENSE:
* Emil Laine <laine.emil@gmail.com>
* Stephen Paul Weber <stephen.weber@shopify.com>
* Jay Phelps <hello@jayphelps.com>
* jhwgh1968 <jhwgh1968@protonmail.com>

Portions of this software are derived from third-party works licensed under
the following terms:
Expand Down

0 comments on commit 156dab9

Please sign in to comment.