diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b03ca05..f1342c6 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -10,15 +10,15 @@ jobs: permissions: contents: write # Required to push historical snapshot to main steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 with: ref: main # Checkout main branch, not the release tag fetch-depth: 0 # Fetch all history to access previous versions - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v6 with: - node-version: "18" + node-version: "22" cache: "npm" - name: Install dependencies @@ -142,7 +142,7 @@ jobs: fi - name: Deploy to GitHub Pages - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./dist diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index a5ca022..20175b0 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -8,12 +8,12 @@ jobs: validate: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v6 - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v6 with: - node-version: "18" + node-version: "22" cache: "npm" - name: Install dependencies