From 57d24271d00e7e5c440f379555b830360beb7bf6 Mon Sep 17 00:00:00 2001 From: Paul Le Cam Date: Thu, 4 Jul 2024 15:33:03 +0100 Subject: [PATCH] Update GitHub actions versions --- .github/workflows/build-docs.yml | 8 ++++---- .github/workflows/build-test.yml | 8 ++++---- .github/workflows/deploy-docs.yml | 10 +++++----- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index 6c7fe1b..5c7fb72 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -10,17 +10,17 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install pnpm - uses: pnpm/action-setup@v2 + uses: pnpm/action-setup@v3 with: version: 9 - name: Setup node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 cache: 'pnpm' - name: Install dependencies and build diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 1a0911d..04d35b8 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -9,20 +9,20 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - node: ['20.x', '21.x'] + node: ['20.x', '22.x'] os: [ubuntu-latest, macOS-latest] steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install pnpm - uses: pnpm/action-setup@v2 + uses: pnpm/action-setup@v3 with: version: 9 - name: Use Node ${{ matrix.node }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} cache: 'pnpm' diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 9b85f18..c761ab1 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -10,17 +10,17 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install pnpm - uses: pnpm/action-setup@v2 + uses: pnpm/action-setup@v3 with: version: 9 - name: Setup node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 cache: 'pnpm' - name: Install dependencies and build @@ -30,7 +30,7 @@ jobs: run: (cd website && pnpm build) - 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: ./website/build