Skip to content

Commit

Permalink
ci: run tests on windows (#386)
Browse files Browse the repository at this point in the history
* ci: run tests on windows

* chore: test

* chore: use macos and windows
  • Loading branch information
sheremet-va committed May 17, 2024
1 parent 03511ab commit 15952a1
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ on:
branches: [main]

jobs:
build:
runs-on: ubuntu-latest
ci:
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [macos-14, windows-latest]
node-version: [20.x]

steps:
Expand All @@ -31,13 +32,13 @@ jobs:

- name: test
run: |
xvfb-run pnpm test
pnpm test
- name: test-e2e
run: |
pnpm -C samples/e2e i
npm -C samples/imba i
xvfb-run pnpm test-e2e --retry 2
pnpm test-e2e --retry 2
- uses: actions/upload-artifact@v3
if: always()
Expand Down

0 comments on commit 15952a1

Please sign in to comment.