File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed
Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ name : ' SCIP Style'
2+
3+ env :
4+ NODE_VERSION : ' 16'
5+
6+ on :
7+ push :
8+ branches :
9+ - scip
10+ pull_request :
11+ branches :
12+ - scip
13+
14+ jobs :
15+ pyright-scip-style :
16+ runs-on : ubuntu-latest
17+ name : Pyright-SCIP Style
18+
19+ steps :
20+ - uses : actions/checkout@v3
21+
22+ - uses : actions/setup-node@v3
23+ with :
24+ node-version : ${{ env.NODE_VERSION }}
25+
26+ - name : Get npm cache directory
27+ id : npm-cache
28+ run : |
29+ echo "dir=$(npm config get cache)" >> $GITHUB_OUTPUT
30+ - uses : actions/cache@v3
31+ with :
32+ path : ${{ steps.npm-cache.outputs.dir }}
33+ key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
34+ restore-keys : |
35+ ${{ runner.os }}-node-
36+
37+ - run : npm install
38+ working-directory : packages/pyright-scip
39+
40+ - name : Check prettier formatting
41+ run : npm run check:prettier
42+ working-directory : packages/pyright-scip
43+
44+ - name : Check ESLint
45+ run : npm run check:eslint
46+ working-directory : packages/pyright-scip
You can’t perform that action at this time.
0 commit comments