From edbe36ecf06ae669baaf8a700ca894b83011cb31 Mon Sep 17 00:00:00 2001 From: Imani Manyara Date: Thu, 1 Oct 2026 17:44:27 -0400 Subject: [PATCH] Move CI actions to the current majors and pin the third-party one First-party actions (actions/*) float on their current major, v7. The one third-party action, softprops/action-gh-release, is pinned to the commit of its latest release, v3.0.3, with the version in a comment, because its tags are under someone else's control. v3 moves only to the Node 24 runtime; both inputs this workflow uses are unchanged. --- .github/workflows/ci.yml | 10 +++++----- .github/workflows/release.yml | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f21bab8..4e27bd3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,9 +16,9 @@ jobs: matrix: node-version: [18, 20, 22] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 + uses: actions/setup-node@v7 with: node-version: ${{ matrix.node-version }} cache: npm @@ -36,15 +36,15 @@ jobs: container: image: mcr.microsoft.com/playwright:v1.61.0-jammy steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@v7 + - uses: actions/setup-node@v7 with: node-version: 22 cache: npm - run: npm ci - name: Run Playwright visual & functional tests run: npm run test:e2e - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v7 if: ${{ !cancelled() }} with: name: playwright-report diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6dbd762..8ebf8f0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,9 +14,9 @@ jobs: runs-on: ubuntu-latest environment: npm steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v7 with: node-version: 20 registry-url: https://registry.npmjs.org @@ -49,7 +49,7 @@ jobs: cat release-notes.md - name: Create GitHub release - uses: softprops/action-gh-release@v2 + uses: softprops/action-gh-release@efb35369e0ad2afab669f228072c1b0d510eae64 # v3.0.3 with: body_path: release-notes.md generate_release_notes: true