Update lint.yml
This commit is contained in:
17
.github/workflows/lint.yml
vendored
17
.github/workflows/lint.yml
vendored
@@ -8,17 +8,18 @@ on:
|
|||||||
- '*'
|
- '*'
|
||||||
jobs:
|
jobs:
|
||||||
eslint:
|
eslint:
|
||||||
|
name: ESLint
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
node-version: [20.x]
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- name: Checkout repository
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
uses: actions/checkout@v4
|
||||||
uses: actions/setup-node@v1
|
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Install Node.js v20
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: 20
|
||||||
- run: npm i
|
- run: npm i
|
||||||
- run: npm run test
|
- run: npm run test
|
||||||
Reference in New Issue
Block a user