File tree Expand file tree Collapse file tree 3 files changed +19
-6
lines changed Expand file tree Collapse file tree 3 files changed +19
-6
lines changed Original file line number Diff line number Diff line change 7979 echo "::add-matcher::.github/actionlint-matcher.json"
8080 ${{ steps.get_actionlint.outputs.executable }} -color
8181 shell : bash
82+ - name : Setup Node
83+ uses : actions/setup-node@v4
84+ with :
85+ node-version : ' 20.x'
86+ - name : Install npm dependencies
87+ uses : nick-fields/retry@v3
88+ with :
89+ timeout_minutes : 10
90+ max_attempts : 3
91+ command : npm install
92+ - name : Run Prettier
93+ run : |
94+ npm run format-check
95+ - name : Run ESLint for /tools
96+ run : |
97+ npm run lint-tools
98+
8299 e2e-tests :
83100 needs : build
84101 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -11,9 +11,4 @@ export default [
1111 sourceType : 'module' ,
1212 } ,
1313 } ,
14- {
15- rules : {
16- 'no-unused-exports' : 'off' ,
17- } ,
18- } ,
1914] ;
Original file line number Diff line number Diff line change 33 "description" : " MongoDB repository with OpenAPI specification" ,
44 "scripts" : {
55 "format" : " npx prettier . --write" ,
6- "lint-tools" : " npx eslint 'tools/**'"
6+ "format-check" : " npx prettier . --check" ,
7+ "lint-tools" : " npx eslint tools"
78 },
89 "dependencies" : {
910 "openapi-to-postmanv2" : " 4.24.0"
You can’t perform that action at this time.
0 commit comments