Skip to content

Commit

Permalink
ci: run tests on both Windows and Ubuntu (#368)
Browse files Browse the repository at this point in the history
(meta)
  • Loading branch information
wKovacs64 committed May 8, 2020
1 parent 75a7fea commit 290702e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto eol=lf
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ on:
jobs:
build_and_test:
name: Build & Test
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Use Node.js
Expand Down
1 change: 1 addition & 0 deletions packages/cli/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ module.exports = {
globals: {
'ts-jest': {
tsConfig: 'test/tsconfig.json',
isolatedModules: true,
},
},
}
1 change: 1 addition & 0 deletions prettier.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ module.exports = {
trailingComma: 'all',
semi: false,
printWidth: 110,
endOfLine: 'lf',
}

0 comments on commit 290702e

Please sign in to comment.