Update lint.yml

This commit is contained in:
Elysia
2024-07-25 09:24:51 +07:00
committed by GitHub
parent 2efb496bf7
commit 9a90366104

View File

@@ -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