From 186b3cd6c22d95a3a33a84edd65eecd7f7c24897 Mon Sep 17 00:00:00 2001 From: Simon Green Date: Wed, 28 Aug 2024 15:34:48 -0600 Subject: [PATCH] Update deploy.yml actions --- .github/workflows/deploy.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ea7651e..d7b1df1 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -26,24 +26,25 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install pnpm - uses: pnpm/action-setup@v2 + uses: pnpm/action-setup@v4 with: version: 9 + run_install: false - name: Install Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: 18 - cache: pnpm + node-version: 22 + cache: 'pnpm' - name: Install dependencies run: pnpm install --frozen-lockfile - name: Setup Pages - uses: actions/configure-pages@v3 + uses: actions/configure-pages@v5 with: static_site_generator: sveltekit @@ -51,7 +52,7 @@ jobs: run: pnpm run build - name: Upload Artifacts - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v3 with: # this should match the `pages` option in your adapter-static options path: 'build/' @@ -67,4 +68,4 @@ jobs: steps: - name: Deploy id: deployment - uses: actions/deploy-pages@v1 + uses: actions/deploy-pages@v4