Skip to content

Commit e852de4

Browse files
Update deploy.yml actions
1 parent 4dc2eb8 commit e852de4

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.github/workflows/deploy.yml

+9-8
Original file line numberDiff line numberDiff line change
@@ -26,32 +26,33 @@ jobs:
2626
runs-on: ubuntu-latest
2727
steps:
2828
- name: Checkout
29-
uses: actions/checkout@v3
29+
uses: actions/checkout@v4
3030

3131
- name: Install pnpm
32-
uses: pnpm/action-setup@v2
32+
uses: pnpm/action-setup@v4
3333
with:
3434
version: 9
35+
run_install: false
3536

3637
- name: Install Node.js
37-
uses: actions/setup-node@v3
38+
uses: actions/setup-node@v4
3839
with:
39-
node-version: 18
40-
cache: pnpm
40+
node-version: 22
41+
cache: 'pnpm'
4142

4243
- name: Install dependencies
4344
run: pnpm install --frozen-lockfile
4445

4546
- name: Setup Pages
46-
uses: actions/configure-pages@v3
47+
uses: actions/configure-pages@v5
4748
with:
4849
static_site_generator: sveltekit
4950

5051
- name: Build
5152
run: pnpm run build
5253

5354
- name: Upload Artifacts
54-
uses: actions/upload-pages-artifact@v1
55+
uses: actions/upload-pages-artifact@v3
5556
with:
5657
# this should match the `pages` option in your adapter-static options
5758
path: 'build/'
@@ -67,4 +68,4 @@ jobs:
6768
steps:
6869
- name: Deploy
6970
id: deployment
70-
uses: actions/deploy-pages@v1
71+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)