File tree 2 files changed +35
-18
lines changed
2 files changed +35
-18
lines changed Original file line number Diff line number Diff line change @@ -15,10 +15,13 @@ jobs:
15
15
- name : Checkout 🛎️
16
16
uses : actions/checkout@v4
17
17
18
- - name : Install and Build 🔧
19
- run : |
20
- pnpm install --frozen-lockfile
21
- pnpm build
18
+ - uses : pnpm/action-setup@v4
19
+ name : Install pnpm
20
+ with :
21
+ run_install : true
22
+
23
+ - name : Build 🔧
24
+ run : pnpm build
22
25
23
26
- name : Deploy 🚀
24
27
uses : JamesIves/github-pages-deploy-action@v4
32
35
- name : Checkout
33
36
uses : actions/checkout@v4
34
37
35
- - name : Install
36
- run : pnpm install --frozen-lockfile
38
+ - uses : pnpm/action-setup@v4
39
+ name : Install pnpm
40
+ with :
41
+ run_install : true
37
42
38
43
- name : test
39
44
run : pnpm test -- --watch=false --browsers=ChromeHeadless
Original file line number Diff line number Diff line change 14
14
with :
15
15
ref : ${{ github.event.pull_request.head.sha }}
16
16
17
- - name : install
18
- run : pnpm install --frozen-lockfile
17
+ - uses : pnpm/action-setup@v4
18
+ name : Install pnpm
19
+ with :
20
+ run_install : true
19
21
20
22
- name : build
21
23
run : pnpm build
28
30
with :
29
31
ref : ${{ github.event.pull_request.head.sha }}
30
32
31
- - name : install
32
- run : pnpm install --frozen-lockfile
33
+ - uses : pnpm/action-setup@v4
34
+ name : Install pnpm
35
+ with :
36
+ run_install : true
33
37
34
38
- name : lint
35
39
run : pnpm lint
42
46
with :
43
47
ref : ${{ github.event.pull_request.head.sha }}
44
48
45
- - name : install
46
- run : pnpm install --frozen-lockfile
49
+ - uses : pnpm/action-setup@v4
50
+ name : Install pnpm
51
+ with :
52
+ run_install : true
47
53
48
54
- name : test
49
55
run : pnpm test -- --watch=false --browsers=ChromeHeadless
61
67
with :
62
68
ref : ${{ github.event.pull_request.head.sha }}
63
69
64
- - name : install
65
- run : pnpm install --frozen-lockfile
70
+ - uses : pnpm/action-setup@v4
71
+ name : Install pnpm
72
+ with :
73
+ run_install : true
66
74
67
75
- name : test
68
76
run : pnpm test -- --watch=false --browsers=FirefoxHeadless
75
83
with :
76
84
ref : ${{ github.event.pull_request.head.sha }}
77
85
78
- - name : install
79
- run : pnpm install --frozen-lockfile
86
+ - uses : pnpm/action-setup@v4
87
+ name : Install pnpm
88
+ with :
89
+ run_install : true
80
90
81
91
- name : test
82
92
run : pnpm test -- --watch=false --browsers=SafariNative
89
99
with :
90
100
ref : ${{ github.event.pull_request.head.sha }}
91
101
92
- - name : install
93
- run : pnpm install --frozen-lockfile
102
+ - uses : pnpm/action-setup@v4
103
+ name : Install pnpm
104
+ with :
105
+ run_install : true
94
106
95
107
- name : prettier
96
108
run : npx prettier . --check
You can’t perform that action at this time.
0 commit comments