Skip to content

Commit

Permalink
ci: run linting only in the oldest Node.js we support
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Ginsburg committed Apr 11, 2022
1 parent dceeba7 commit dd50806
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,16 @@ on:
- master

jobs:
linux:
name: "Node ${{ matrix.node }} on Linux: Lint"
lint:
name: Lint
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node:
- 10
- 12
- 14
- 16
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
node-version: 10
cache: npm
- run: npm ci
- run: npm run lint
Expand Down

0 comments on commit dd50806

Please sign in to comment.