Skip to content

Commit

Permalink
windows testing
Browse files Browse the repository at this point in the history
  • Loading branch information
jondot committed Mar 2, 2022
1 parent fb421ef commit 10e7e63
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ jobs:
node-version: [14.x, 17.x]
os: [ubuntu-latest, windows-latest]
steps:
- name: Set git to use LF
run: |
git config --global core.autocrlf false
git config --global core.eol lf
if: matrix.os == 'windows-latest'

- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
Expand All @@ -27,10 +33,8 @@ jobs:
- run: yarn install
- run: yarn build
- run: yarn hygen:build -- init self

- run: yarn test
if: matrix.os == 'ubuntu-latest'

- run: git config --global core.autocrlf false
if: matrix.os == 'windows-latest'
- run: yarn test:win32
if: matrix.os == 'windows-latest'

0 comments on commit 10e7e63

Please sign in to comment.