Skip to content

Commit

Permalink
Enables OSX tests (#15)
Browse files Browse the repository at this point in the history
* Enables OSX tests

* Update ci.yml

* master -> main
  • Loading branch information
arcanis authored Sep 29, 2020
1 parent 1a3db68 commit b592a86
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,31 @@ name: Tests

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

jobs:
build:
strategy:
fail-fast: false
matrix:
node-version: [14.x]
node:
- 14
platform:
- ubuntu-latest
- macos-latest

runs-on: ubuntu-latest
name: '${{matrix.platform}} w/ Node.js ${{matrix.node}}.x'
runs-on: ${{matrix.platform}}

steps:
- uses: actions/checkout@v2

- name: Install Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
- name: 'Use Node.js ${{matrix.node}}.x'
uses: actions/setup-node@master
with:
node-version: ${{ matrix.node-version }}
node-version: ${{matrix.node}}.x

- run: yarn install --immutable
- run: yarn build # We need the stubs to run the tests
Expand Down

0 comments on commit b592a86

Please sign in to comment.