From 241bc8fc8961a46a6f5167f5ec27b8ae45517267 Mon Sep 17 00:00:00 2001 From: Kenneth Yang <82800265+kjy5@users.noreply.github.com> Date: Fri, 6 Oct 2023 12:35:18 -0700 Subject: [PATCH] Bump action versions (#289) * Bump action versions * Fix build node version --- .github/workflows/build.yml | 6 +++--- .github/workflows/dependency-review.yml | 4 ++-- .github/workflows/deploy.yml | 4 ++-- .github/workflows/reformat-and-lint.yml | 8 ++++---- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ce05ce3..1351c3d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,13 +22,13 @@ jobs: steps: - name: 🛎 Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Configure NPM to cache dependencies - name: 📦 Setup Node.js and caching uses: actions/setup-node@v3 with: - node-version: 19 + node-version: 20 cache: "npm" # Install deps and build @@ -40,6 +40,6 @@ jobs: # Upload artifact if requested - name: ⬆️ Upload artifact if: ${{ inputs.upload-artifact }} - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v2 with: path: "dist" diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index b183822..57ec650 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -15,6 +15,6 @@ jobs: runs-on: ubuntu-latest steps: - name: "Checkout Repository" - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: "Dependency Review" - uses: actions/dependency-review-action@v2 + uses: actions/dependency-review-action@v3 diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 4af26ad..bf0eb47 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -40,8 +40,8 @@ jobs: steps: - name: 🛠 Setup Pages - uses: actions/configure-pages@v2 + uses: actions/configure-pages@v3 - name: 🚀 Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v1 + uses: actions/deploy-pages@v2 diff --git a/.github/workflows/reformat-and-lint.yml b/.github/workflows/reformat-and-lint.yml index 0837d85..6b44c23 100644 --- a/.github/workflows/reformat-and-lint.yml +++ b/.github/workflows/reformat-and-lint.yml @@ -13,18 +13,18 @@ jobs: steps: - name: 🛎 Checkout if: github.event.pull_request.user.login != 'dependabot[bot]' - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: token: ${{ secrets.WORKFLOW_COMMIT }} - name: 🤖🛎 Bot Checkout if: github.event.pull_request.user.login == 'dependabot[bot]' - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: 📦 Setup Node.js and caching uses: actions/setup-node@v3 with: - node-version: 19 + node-version: 20 cache: "npm" - name: 🔨 Install @@ -38,6 +38,6 @@ jobs: - name: ⬆️ Commit changes if: github.event.pull_request.user.login != 'dependabot[bot]' - uses: stefanzweifel/git-auto-commit-action@v4 + uses: stefanzweifel/git-auto-commit-action@v5 with: commit_message: Reformat and Lint