File tree Expand file tree Collapse file tree 1 file changed +13
-24
lines changed
Expand file tree Collapse file tree 1 file changed +13
-24
lines changed Original file line number Diff line number Diff line change @@ -4,44 +4,33 @@ on: [push]
44
55jobs :
66 build :
7- name : Build
7+ name : Build and Test
88
99 runs-on : ubuntu-latest
1010
1111 steps :
1212 - name : Checkout
13- uses : actions/checkout@v3
13+ uses : actions/checkout@v4
1414
15- - name : Install Node.js
16- uses : actions/setup-node@v3
15+ - name : Setup pnpm
16+ uses : pnpm/action-setup@v2
1717 with :
18- node- version : 18
18+ version : 9.4.0
1919
20- 21- name : Install pnpm
22- id : pnpm-install
20+ - name : Setup Node.js
21+ uses : actions/setup-node@v4
2322 with :
24- version : 8
25- run_install : false
26-
27- - name : Get pnpm store directory
28- id : pnpm-cache
29- run : |
30- echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
31-
32- - uses : actions/cache@v3
33- name : Setup pnpm cache
34- with :
35- path : ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
36- key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
37- restore-keys : |
38- ${{ runner.os }}-pnpm-store-
23+ node-version : 20
24+ cache : pnpm
3925
4026 - name : Install dependencies
4127 run : pnpm install
4228
43- - name : Check Formatting
29+ - name : Verify formatting
4430 run : pnpm format:check
4531
4632 - name : Build
4733 run : pnpm build
34+
35+ - name : Test
36+ run : pnpm test
You can’t perform that action at this time.
0 commit comments