Skip to content

Commit

Permalink
Merge pull request #79 from true-myth/gh-actions
Browse files Browse the repository at this point in the history
Create GH Actions CI Workflow
  • Loading branch information
chriskrycho committed Dec 14, 2020
2 parents 9fde7d6 + 704891d commit eff1fe4
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 17 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: CI

on:
push:
branches:
- master
pull_request:

jobs:
tests_linux:
name: 'Tests: ubuntu (node@${{ matrix.node_version }})'
runs-on: 'ubuntu-latest'
strategy:
matrix:
node_version: ['10', '12', '14', '15']

steps:
- uses: actions/checkout@v2
- uses: volta-cli/action@v1
with:
node_version: ${{ matrix.node-version }}
- run: yarn install --frozen-lockfile --non-interactive
- run: yarn test

tests_other:
name: 'Tests: ${{ matrix.os }}'
runs-on: '${{ matrix.os }}-latest'

strategy:
matrix:
# macOS runners are slow (at best) this week
# os: [macOS, windows]
os: [windows]

steps:
- uses: actions/checkout@v2
- uses: volta-cli/action@v1
- run: yarn install --frozen-lockfile --non-interactive
- run: yarn test
17 changes: 0 additions & 17 deletions .travis.yml

This file was deleted.

0 comments on commit eff1fe4

Please sign in to comment.