Skip to content

Commit 0d1763d

Browse files
committed
what am i doing
1 parent ff2dc7c commit 0d1763d

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.github/workflows/deploy-vite.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# https://vitejs.dev/guide/static-deploy#github-pages
2+
# https://pnpm.io/continuous-integration#github-actions
23

34
# Simple workflow for deploying static content to GitHub Pages
45
name: Deploy static content to Pages
@@ -29,20 +30,22 @@ jobs:
2930
name: github-pages
3031
url: ${{ steps.deployment.outputs.page_url }}
3132
runs-on: ubuntu-latest
33+
strategy:
34+
matrix:
35+
node-version: [20]
3236
steps:
33-
- name: Checkout
34-
uses: actions/checkout@v4
35-
- name: Set Up pnpm
37+
- uses: actions/checkout@v4
38+
- name: Install pnpm
3639
uses: pnpm/action-setup@v4
3740
with:
38-
version: 8
39-
- name: Set up Node
41+
version: 9
42+
- name: Use Node.js ${{ matrix.node-version }}
4043
uses: actions/setup-node@v4
4144
with:
42-
node-version: 20
45+
node-version: ${{ matrix.node-version }}
4346
cache: 'pnpm'
4447
- name: Install dependencies
45-
run: pnpm ci
48+
run: pnpm install
4649
- name: Build
4750
run: pnpm run build
4851
- name: Setup Pages

0 commit comments

Comments
 (0)