Skip to content

Commit

Permalink
Migrate to Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann committed Nov 20, 2020
1 parent 17b29b9 commit 04ee631
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 48 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: CI

on:
push:
branches:
- master
pull_request:

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

strategy:
matrix:
os: [ubuntu-latest, windows-latest]
fail-fast: false

steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
- name: Build and Test
run: |
npm ci
npm run build
if [ "${{ runner.os }}" == "Windows" ]; then
npm test
elif [ "${{ runner.os }}" == "macOS" ]; then
npm test --browsers chrome,safari
else
xvfb-run --auto-servernum npm test
fi
shell: bash
48 changes: 0 additions & 48 deletions .travis.yml

This file was deleted.

0 comments on commit 04ee631

Please sign in to comment.