File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,21 +2,28 @@ name: Run CI on commit-graph
22on :
33 pull_request :
44 push :
5- branches : [ main ]
5+ branches : [main]
66 workflow_dispatch :
77
88jobs :
99 ci :
10- runs-on : ubuntu-22.04
10+ runs-on : ubuntu-latest
1111 steps :
1212 - name : Checkout code
1313 uses : actions/checkout@v4
14- - uses : actions/setup-node@v4
14+ - name : Setup Node.js
15+ uses : actions/setup-node@v4
1516 with :
16- node-version : " 18"
17- - name : Run the "npm ci" command
18- run : npm ci
19- - name : Run the "npm run build" command
20- run : npm run build
21- - name : Run the "npm test" command
22- run : npm test
17+ node-version : " 22"
18+ - name : Enable Corepack
19+ run : corepack enable
20+ - name : Install dependencies
21+ run : yarn install --immutable
22+ - name : Lint
23+ run : yarn lint
24+ - name : Type check
25+ run : yarn compile
26+ - name : Test
27+ run : yarn test
28+ - name : Build
29+ run : yarn build
You can’t perform that action at this time.
0 commit comments