File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change 1
1
# https://vitejs.dev/guide/static-deploy#github-pages
2
+ # https://pnpm.io/continuous-integration#github-actions
2
3
3
4
# Simple workflow for deploying static content to GitHub Pages
4
5
name : Deploy static content to Pages
@@ -29,20 +30,22 @@ jobs:
29
30
name : github-pages
30
31
url : ${{ steps.deployment.outputs.page_url }}
31
32
runs-on : ubuntu-latest
33
+ strategy :
34
+ matrix :
35
+ node-version : [20]
32
36
steps :
33
- - name : Checkout
34
- uses : actions/checkout@v4
35
- - name : Set Up pnpm
37
+ - uses : actions/checkout@v4
38
+ - name : Install pnpm
36
39
uses : pnpm/action-setup@v4
37
40
with :
38
- version : 8
39
- - name : Set up Node
41
+ version : 9
42
+ - name : Use Node.js ${{ matrix.node-version }}
40
43
uses : actions/setup-node@v4
41
44
with :
42
- node-version : 20
45
+ node-version : ${{ matrix.node-version }}
43
46
cache : ' pnpm'
44
47
- name : Install dependencies
45
- run : pnpm ci
48
+ run : pnpm install
46
49
- name : Build
47
50
run : pnpm run build
48
51
- name : Setup Pages
You can’t perform that action at this time.
0 commit comments