From 9dd601cd82768915d71792d293a20bf8339e36ef Mon Sep 17 00:00:00 2001 From: Muffin Date: Sun, 21 Jul 2024 00:22:46 -0500 Subject: [PATCH] Update GitHub Actions workflows --- .github/workflows/build.yml | 6 +++--- .github/workflows/deploy.yml | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 96934bc..f4c20f6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,11 +9,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: 14.x + node-version: 20 - name: Install dependencies run: npm ci - name: Build website diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 0ec28c4..42aaa70 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -17,20 +17,20 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup GitHub Pages id: pages - uses: actions/configure-pages@v1 + uses: actions/configure-pages@v5 - name: Install Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: 14.x + node-version: 20 - name: Install dependencies run: npm ci - name: Build website run: npm run build - name: Upload artifact - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v3 with: path: ./dist/ @@ -43,4 +43,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v1 + uses: actions/deploy-pages@v4