Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jhen0409 committed Jul 18, 2023
1 parent 03cffce commit 5b1c310
Showing 1 changed file with 14 additions and 15 deletions.
29 changes: 14 additions & 15 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,45 +3,44 @@ name: CI
on: [push, pull_request]

jobs:
build-test-macos:
runs-on: macOS-latest
build-test-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 10.x
- name: CI
node-version: 18.x
- name: Setup
run: sudo apt-get install -y libgbm-dev
- name: Test
run: |
yarn
cd npm-package && yarn && cd ..
yarn test
yarn build
yarn test-e2e
build-test-linux:
runs-on: ubuntu-latest
xvfb-run --auto-servernum yarn test-e2e
build-test-macos:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 10.x
- name: CI
node-version: 18.x
- name: Test
run: |
export DISPLAY=:99.0
Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
npm i -g xvfb-maybe
yarn
cd npm-package && yarn && cd ..
yarn test
yarn build
xvfb-maybe yarn test-e2e
yarn test-e2e
build-test-windows:
runs-on: windows-2019
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 10.x
- name: CI
node-version: 18.x
- name: Test
shell: bash
run: |
yarn
Expand Down

0 comments on commit 5b1c310

Please sign in to comment.