Skip to content

Commit

Permalink
Meta tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Jan 1, 2021
1 parent 9921acc commit d8ddcdf
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/main.yml
@@ -1,12 +1,10 @@
name: CI

on:
- push
- pull_request

jobs:
test:
name: Node.js ${{ matrix.node_version }} on ${{ matrix.os }}
name: Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand All @@ -22,17 +20,16 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node_version }}
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test
if: matrix.os != 'windows-latest'
- run: npx ava
if: matrix.os == 'windows-latest'
- uses: codecov/codecov-action@v1
if: matrix.os == 'ubuntu-latest' && matrix.node_version == 12
if: matrix.os == 'ubuntu-latest' && matrix.node-version == 14
with:
fail_ci_if_error: true

lint:
runs-on: ubuntu-latest
steps:
Expand All @@ -42,7 +39,6 @@ jobs:
node-version: 14
- run: npm install
- run: npm run lint

integration:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit d8ddcdf

Please sign in to comment.