File tree Expand file tree Collapse file tree 2 files changed +13
-14
lines changed Expand file tree Collapse file tree 2 files changed +13
-14
lines changed Original file line number Diff line number Diff line change @@ -4,9 +4,18 @@ description: "Install cached dependencies"
44runs :
55 using : " composite"
66 steps :
7+ - uses : pnpm/action-setup@v3
8+ with :
9+ version : 9
10+ run_install : false
711
8- - uses : actions/cache@v4
9- shell : bash
12+ - uses : actions/setup-node@v4
13+ with :
14+ node-version : ' 20'
15+ cache : ' pnpm'
16+
17+ - name : Restore node_modules cache
18+ uses : actions/cache@v4
1019 id : pnpm-cache
1120 with :
1221 path : ' **/node_modules'
Original file line number Diff line number Diff line change 11name : Test & Build
22
3- on : [push ]
3+ on : [pull_request ]
44
55concurrency :
66 group : ${{ github.workflow }}-${{ github.ref }}
@@ -12,18 +12,13 @@ jobs:
1212 steps :
1313 - uses : actions/checkout@v4
1414
15- - uses : actions/setup-node@v4
16- with :
17- node-version : 20
18- cache : ' pnpm'
19-
2015 - uses : ./.github/actions/install
2116
2217 - name : Test with Coverage
2318 run : pnpm run coverage
2419
2520 - name : ESLint
26- run : pnpm run eslint
21+ run : pnpm run lint
2722
2823 - name : Report Coverage
2924 uses : coverallsapp/github-action@v2
3530 steps :
3631 - uses : actions/checkout@v4
3732
38- - uses : actions/setup-node@v4
39- with :
40- node-version : 20
41- cache : ' pnpm'
42-
4333 - uses : ./.github/actions/install
4434
4535 - name : Build Dist
You can’t perform that action at this time.
0 commit comments