File tree Expand file tree Collapse file tree 2 files changed +35
-18
lines changed
Expand file tree Collapse file tree 2 files changed +35
-18
lines changed Original file line number Diff line number Diff line change @@ -15,10 +15,13 @@ jobs:
1515 - name : Checkout 🛎️
1616 uses : actions/checkout@v4
1717
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
2225
2326 - name : Deploy 🚀
2427 uses : JamesIves/github-pages-deploy-action@v4
3235 - name : Checkout
3336 uses : actions/checkout@v4
3437
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
3742
3843 - name : test
3944 run : pnpm test -- --watch=false --browsers=ChromeHeadless
Original file line number Diff line number Diff line change 1414 with :
1515 ref : ${{ github.event.pull_request.head.sha }}
1616
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
1921
2022 - name : build
2123 run : pnpm build
2830 with :
2931 ref : ${{ github.event.pull_request.head.sha }}
3032
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
3337
3438 - name : lint
3539 run : pnpm lint
4246 with :
4347 ref : ${{ github.event.pull_request.head.sha }}
4448
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
4753
4854 - name : test
4955 run : pnpm test -- --watch=false --browsers=ChromeHeadless
6167 with :
6268 ref : ${{ github.event.pull_request.head.sha }}
6369
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
6674
6775 - name : test
6876 run : pnpm test -- --watch=false --browsers=FirefoxHeadless
7583 with :
7684 ref : ${{ github.event.pull_request.head.sha }}
7785
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
8090
8191 - name : test
8292 run : pnpm test -- --watch=false --browsers=SafariNative
8999 with :
90100 ref : ${{ github.event.pull_request.head.sha }}
91101
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
94106
95107 - name : prettier
96108 run : npx prettier . --check
You can’t perform that action at this time.
0 commit comments