Upgrade setup-node action and disable broken darwin build #244
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
pull_request: | |
branches: | |
- master | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node_version: [ | |
10, | |
12, | |
14, | |
] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node_version }} | |
- name: Install dependencies | |
run: | | |
npm ci | |
- name: Check formatting | |
run: | | |
npx prettier -u -c src | |
- name: Lint with eslint | |
run: | | |
npm run lint | |
- name: Check build | |
run: | | |
npm run build |