Skip to content

Commit

Permalink
ci: only run ESLint on latest Node (#462)
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath authored Apr 5, 2024
1 parent 1a0a3a0 commit 2d86892
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,21 @@ concurrency:
jobs:
lint:
name: Linting
strategy:
matrix:
os: [ubuntu-latest]
node: [14.x, 16.x, 18.x, 20.x]

runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
node-version: 20.x
cache: yarn

- name: Install dependencies
run: yarn --frozen-lockfile --non-interactive --prefer-offline

- name: Lint
- name: Node eslint
run: yarn lint
test:
name: Testing
Expand Down

0 comments on commit 2d86892

Please sign in to comment.