File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Continuous Integration
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+ branches :
9+ - main
10+
11+ jobs :
12+ build :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - name : Checkout code
16+ uses : actions/checkout@v2
17+ - name : Set NodeJS
18+ uses : actions/setup-node@v4
19+ with :
20+ node-version : ' 22.12.0'
21+ cache : ' npm'
22+ - run : npm ci
23+ - run : npm run build
24+ eslint :
25+ runs-on : ubuntu-latest
26+ steps :
27+ - name : Checkout code
28+ uses : actions/checkout@v2
29+ - name : Set NodeJS
30+ uses : actions/setup-node@v4
31+ with :
32+ node-version : ' 22.12.0'
33+ cache : ' npm'
34+ - run : npm ci
35+ - name : Run ESLint
36+ run : npx eslint
Original file line number Diff line number Diff line change 1+ // @ts -check
2+
3+ import eslint from '@eslint/js' ;
4+ import tseslint from 'typescript-eslint' ;
5+
6+ export default tseslint . config (
7+ eslint . configs . recommended ,
8+ tseslint . configs . strict ,
9+ tseslint . configs . stylistic ,
10+ ) ;
You can’t perform that action at this time.
0 commit comments