Skip to content

Commit

Permalink
Added github action for CI. (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
mosckital committed Jun 21, 2020
1 parent 10a782c commit ab136eb
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Continuous Integration

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Node.js
uses: actions/setup-node@v1
with:
node-version: 10.x
- run: npm install
- name: Run tests
uses: GabrielBB/xvfb-action@v1.2
with:
run: npm test

# jobs:
# tests:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2

# - name: Start xvfb
# run: /usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &

# - name: install nodejs dependencies
# run: npm install

# - name: compile the project
# run: npm run compile

# - name: Test the extension via shell script
# run: bash tests/e2e.sh

0 comments on commit ab136eb

Please sign in to comment.