Skip to content

Commit

Permalink
ci: fix builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Frazer Smith committed Nov 18, 2020
1 parent 7f3bf3e commit a657e75
Showing 1 changed file with 7 additions and 17 deletions.
24 changes: 7 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,18 @@ jobs:
strategy:
matrix:
node-version: [10.x, 12.x, 14.x]
os: macos-latest

runs-on: ${{ matrix.os }}
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn install
- name: Run Tests
env:
POPPLER_BINARY_PATH: /usr/local/bin
run: |
brew install poppler
cp .env.template .env.test
yarn test-coverage
- name: Coveralls Parallel
uses: coverallsapp/github-action@master
Expand All @@ -48,22 +44,18 @@ jobs:
strategy:
matrix:
node-version: [10.x, 12.x, 14.x]
os: ubuntu-latest

runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn install
- name: Run Tests
env:
POPPLER_BINARY_PATH: /usr/bin
run: |
sudo apt-get -y install poppler-data poppler-utils
cp .env.template .env.test
yarn test-coverage
- name: Coveralls Parallel
uses: coverallsapp/github-action@master
Expand All @@ -76,19 +68,17 @@ jobs:
strategy:
matrix:
node-version: [10.x, 12.x, 14.x]
os: windows-latest

runs-on: ${{ matrix.os }}
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn install
- name: Run Tests
run: |
cp .env.template .env.test
yarn test-coverage
- name: Coveralls Parallel
uses: coverallsapp/github-action@master
Expand All @@ -104,5 +94,5 @@ jobs:
- name: Coveralls Finished
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN}}
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true

0 comments on commit a657e75

Please sign in to comment.