Skip to content

Commit

Permalink
feat: add mac and windows CI checks
Browse files Browse the repository at this point in the history
Closes #312
  • Loading branch information
Skaiir authored and fake-join[bot] committed Aug 18, 2022
1 parent b7d2584 commit dc597d5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:

strategy:
matrix:
os: [ ubuntu-latest ]
os: [ macos-latest, ubuntu-latest, windows-latest ]
node-version: [ 14 ]

runs-on: ${{ matrix.os }}
Expand All @@ -29,9 +29,15 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Build
if: matrix.os == 'ubuntu-latest'
env:
COVERAGE: 1
TEST_BROWSERS: Firefox,ChromeHeadless
run: xvfb-run npm run all
- name: Build
if: matrix.os != 'ubuntu-latest'
env:
TEST_BROWSERS: ChromeHeadless
run: npm run all
- name: Upload coverage
uses: codecov/codecov-action@v2

0 comments on commit dc597d5

Please sign in to comment.