Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add github actions workflow config for windows (#3078)
* chore: add github actions workflow config * fix: use npm ci, npm run test * chore: wee * chore: this might be custom appveyor syntax * chore: split funky commands into steps * Try to fix line-break issue in Windows * chore: skip test:leak on windows * chore: remove appveyor.yml * Align a little closer with Node example See if this improves output * Try to fix step description * Remove obsolete workflow name * Add workflow name again * chore: tweak descriptions, rename workflow file, add node 6 comment
- Loading branch information
1 parent
b1747e4
commit cc5fd63
Showing
4 changed files
with
54 additions
and
41 deletions.
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,32 @@ | ||
name: Node | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: windows-2019 | ||
|
||
strategy: | ||
matrix: | ||
node: [ '10', '6' ] | ||
|
||
name: ${{ matrix.node }} (Windows) | ||
steps: | ||
- name: Configure git line-breaks | ||
run: git config --global core.autocrlf false | ||
- name: Checkout Commit | ||
uses: actions/checkout@v1 | ||
- name: Setup Node | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
- name: Check npm version | ||
# This is only necessary until we dump Node 6 | ||
run: IF ${{ matrix.node }} LSS 8 npm i npm@5 -g | ||
- name: Install dependencies | ||
run: npm ci --ignore-scripts | ||
- name: Run tests | ||
run: npm test | ||
env: | ||
CI: true |
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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