Skip to content

Commit

Permalink
Build on Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
alygin committed Feb 6, 2021
1 parent fec0baa commit 21f4ef7
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macOS-latest, windows-latest]
os: [macOS-latest, ubuntu-20.04, windows-latest]
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
Expand All @@ -18,6 +18,10 @@ jobs:
- name: Build
run: npm run vscode:prepublish
- name: Check
run: |
npm run lint
npm test --silent
run: npm run lint
- name: Test Non-Linux
if: matrix.os != 'ubuntu-20.04'
run: npm test --silent
- name: Test Linux
if: matrix.os == 'ubuntu-20.04'
run: xvfb-run --auto-servernum npm test --silent

0 comments on commit 21f4ef7

Please sign in to comment.