Skip to content

Commit 3e913e5

Browse files
committed
move eslint job to test
1 parent 9b903af commit 3e913e5

File tree

2 files changed

+21
-30
lines changed

2 files changed

+21
-30
lines changed

.github/workflows/lint.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,27 @@ on:
88
workflow_dispatch:
99

1010
jobs:
11+
lint:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v3
17+
18+
- name: Set up Node.js
19+
uses: actions/setup-node@v3
20+
with:
21+
node-version: '20'
22+
cache: 'npm'
23+
24+
- name: Install dependencies
25+
run: npm ci
26+
27+
- name: Run ESLint
28+
run: npm run lint
29+
30+
- name: Run TypeScript compiler check
31+
run: npm run build
1132
test:
1233
runs-on: ubuntu-latest
1334
steps:

0 commit comments

Comments
 (0)