File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Setup
2+ description : Perform standard setup and install dependencies using npm.
3+
4+ inputs :
5+ node-version :
6+ description : The version of Node.js to install
7+ required : true
8+ default : 22.12.0
9+
10+ runs :
11+ using : composite
12+ steps :
13+ - name : Install node
14+ uses : actions/setup-node@v6
15+ with :
16+ cache : npm
17+ node-version : ${{ inputs.node-version }}
18+ - name : Install dependencies
19+ shell : bash
20+ run : npm ci
Original file line number Diff line number Diff line change 1+ name : Check
2+
3+ on :
4+ workflow_dispatch :
5+ workflow_call :
6+ pull_request :
7+ branches : [main]
8+ push :
9+ branches : [main]
10+
11+ concurrency :
12+ group : ${{ github.workflow }}-${{ github.ref }}
13+ cancel-in-progress : true
14+
15+ permissions : {}
16+
17+ env :
18+ FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 : true
19+
20+ jobs :
21+ build :
22+ name : Build
23+ runs-on : ubuntu-latest
24+ timeout-minutes : 10
25+ steps :
26+ - uses : actions/checkout@v6
27+ - name : Install dependencies
28+ uses : ./.github/actions/setup
29+ - run : npm run build
30+
31+ types :
32+ name : Types
33+ runs-on : ubuntu-latest
34+ timeout-minutes : 10
35+ steps :
36+ - uses : actions/checkout@v6
37+ - name : Install dependencies
38+ uses : ./.github/actions/setup
39+ - run : npx tsc --noEmit
40+
41+ test :
42+ name : Test
43+ runs-on : ubuntu-latest
44+ timeout-minutes : 10
45+ steps :
46+ - uses : actions/checkout@v6
47+ - name : Install dependencies
48+ uses : ./.github/actions/setup
49+ - run : npm test
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1212
1313jobs :
1414 check :
15- uses : ./.github/workflows/ci .yml
15+ uses : ./.github/workflows/check .yml
1616
1717 publish :
1818 needs : check
You can’t perform that action at this time.
0 commit comments