File tree Expand file tree Collapse file tree 2 files changed +15
-18
lines changed
Expand file tree Collapse file tree 2 files changed +15
-18
lines changed Original file line number Diff line number Diff line change 1- name : " Setup Environment "
2- description : " Checkout, setup node, restore cache, install dependencies"
1+ name : " Install Dependencies "
2+ description : " Install cached dependencies"
33
44runs :
55 using : " composite"
66 steps :
7- - uses : actions/checkout@v4
8-
9- - uses : actions/setup-node@v4
10- with :
11- node-version : 20
12- cache : ' pnpm'
13-
14- - name : Install pnpm
15- shell : bash
16- run : npm install -g pnpm
177
188 - uses : actions/cache@v4
9+ shell : bash
1910 id : pnpm-cache
2011 with :
2112 path : ' **/node_modules'
Original file line number Diff line number Diff line change @@ -11,10 +11,13 @@ jobs:
1111 runs-on : ubuntu-latest
1212 steps :
1313 - uses : actions/checkout@v4
14- - uses : ./.github/actions/setup
1514
16- - name : Install pnpm
17- run : npm install -g pnpm
15+ - uses : actions/setup-node@v4
16+ with :
17+ node-version : 20
18+ cache : ' pnpm'
19+
20+ - uses : ./.github/actions/install
1821
1922 - name : Test with Coverage
2023 run : pnpm run coverage
@@ -31,10 +34,13 @@ jobs:
3134 runs-on : ubuntu-latest
3235 steps :
3336 - uses : actions/checkout@v4
34- - uses : ./.github/actions/setup
3537
36- - name : Install pnpm
37- run : npm install -g pnpm
38+ - uses : actions/setup-node@v4
39+ with :
40+ node-version : 20
41+ cache : ' pnpm'
42+
43+ - uses : ./.github/actions/install
3844
3945 - name : Build Dist
4046 run : pnpm build
You can’t perform that action at this time.
0 commit comments