File tree 4 files changed +25
-4
lines changed
4 files changed +25
-4
lines changed Original file line number Diff line number Diff line change 5
5
"rootDir" : " ./apps/librelingo-web/src"
6
6
}
7
7
},
8
- "ignorePatterns" : [" playwright-report" ],
8
+ "ignorePatterns" : [" playwright-report" , " apps/librelingo-web/out " ],
9
9
"rules" : {
10
10
"@next/next/no-html-link-for-pages" : " off"
11
11
}
Original file line number Diff line number Diff line change
1
+ name : Lint (node)
2
+ on :
3
+ push :
4
+ branches : [main]
5
+ pull_request :
6
+ branches : [main]
7
+ jobs :
8
+ test :
9
+ timeout-minutes : 60
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - uses : actions/checkout@v4
13
+ - uses : actions/setup-node@v4
14
+ with :
15
+ node-version : 22
16
+ - name : Install dependencies
17
+ run : npm ci
18
+ - name : Run lint checks
19
+ run : npm run lint
Original file line number Diff line number Diff line change 1
1
name : Playwright Tests
2
2
on :
3
3
push :
4
- branches : [main, master ]
4
+ branches : [main]
5
5
pull_request :
6
- branches : [main, master ]
6
+ branches : [main]
7
7
jobs :
8
8
test :
9
9
timeout-minutes : 60
Original file line number Diff line number Diff line change 14
14
"e2e:test" : " playwright test" ,
15
15
"e2e:ui" : " playwright test --ui" ,
16
16
"e2e:report" : " playwright show-report" ,
17
- "lint" : " eslint ." ,
17
+ "lint" : " npm run lint:eslint && npm run lint:prettier" ,
18
+ "lint:eslint" : " eslint ." ,
19
+ "lint:prettier" : " npx prettier --check ." ,
18
20
"format" : " npx prettier . --write" ,
19
21
"course:build" : " ./scripts/exportYamlCourse.sh"
20
22
},
You can’t perform that action at this time.
0 commit comments