File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,33 @@ permissions:
1111 packages : write
1212
1313jobs :
14+ lint :
15+ name : Lint and typecheck
16+ runs-on : ubuntu-latest
17+
18+ steps :
19+ - name : Checkout code
20+ uses : actions/checkout@v4
21+
22+ - name : Setup Node.js
23+ uses : actions/setup-node@v4
24+ with :
25+ node-version : ' 20'
26+ cache : ' yarn'
27+
28+ - name : Install dependencies
29+ run : yarn install --frozen-lockfile
30+
31+ - name : TypeScript typecheck
32+ run : yarn typecheck
33+
34+ - name : Lint
35+ run : yarn lint
36+
1437 test-mongodb-backend :
1538 name : Test with MongoDB backend
1639 runs-on : ubuntu-latest
40+ needs : lint
1741
1842 steps :
1943 - name : Checkout code
4670 test-metadata-backend :
4771 name : Test with Scality metadata backend
4872 runs-on : ubuntu-latest
73+ needs : lint
4974 permissions :
5075 contents : read
5176 packages : write
You can’t perform that action at this time.
0 commit comments