File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ name : TypeScript Type Check
2+
3+ on :
4+ push : {}
5+ pull_request : {}
6+
7+ jobs :
8+ typecheck :
9+ runs-on : ubuntu-latest
10+
11+ strategy :
12+ matrix :
13+ node-version : [20.x, 22.x, 24.x]
14+
15+ steps :
16+ - name : Checkout repository
17+ uses : actions/checkout@v4
18+
19+ - name : Setup Node.js ${{ matrix.node-version }}
20+ uses : actions/setup-node@v4
21+ with :
22+ node-version : ${{ matrix.node-version }}
23+ cache : ' npm'
24+
25+ - name : Install dependencies
26+ run : npm ci
27+
28+ - name : Generate demo project for testing
29+ run : node_modules/.bin/moleculer init --answers test/ci/answers.full.json --no-install . tmp-typecheck-project
30+
31+ - name : Install dependencies in generated project
32+ run : npm install
33+ working-directory : ./tmp-typecheck-project
34+
35+ - name : Run TypeScript type checking
36+ run : npm run typecheck
37+ working-directory : ./tmp-typecheck-project
You can’t perform that action at this time.
0 commit comments