Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 30 additions & 30 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ jobs:
if: github.event_name == 'schedule'
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
fetch-depth: 0
- uses: actions/setup-node@v4
- uses: actions/setup-node@v7
with:
node-version-file: ".nvmrc"
cache: "npm"
Expand All @@ -39,7 +39,7 @@ jobs:
run: npx vitest run src/lib/*.fuzz.test.ts
- name: Upload corpus artifacts
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: fuzz-corpus
path: src/test/fuzz-corpus/
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Post dependency diff report as PR comment
if: github.event_name == 'pull_request'
uses: actions/github-script@v7
uses: actions/github-script@v9
with:
script: |
const fs = require('fs');
Expand Down Expand Up @@ -109,10 +109,10 @@ jobs:
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
fetch-depth: 0
- uses: actions/setup-node@v4
- uses: actions/setup-node@v7
with:
node-version-file: '.nvmrc'
cache: 'npm'
Expand All @@ -126,7 +126,7 @@ jobs:
else
echo "No base coverage artifact is committed; establishing the baseline."
fi
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
if: always()
with:
name: coverage-report
Expand All @@ -136,7 +136,7 @@ jobs:
- name: Check the e2e suite resolves
run: npm run test:e2e -- --list
- run: npm run test:e2e
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
if: always()
with:
name: playwright-report
Expand All @@ -149,15 +149,15 @@ jobs:
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
fetch-depth: 0
- uses: actions/setup-node@v4
- uses: actions/setup-node@v7
with:
node-version-file: '.nvmrc'
cache: 'npm'
- name: Restore Next.js build cache
uses: actions/cache@v4
uses: actions/cache@v6
with:
path: .next/cache
key: ${{ runner.os }}-next-${{ hashFiles('**/package-lock.json') }}-${{ github.sha }}
Expand Down Expand Up @@ -188,15 +188,15 @@ jobs:
matrix:
browser: ${{ github.event_name == 'pull_request' && fromJSON('["chromium"]') || fromJSON('["chromium","firefox","webkit"]') }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
fetch-depth: 0
- uses: actions/setup-node@v4
- uses: actions/setup-node@v7
with:
node-version-file: '.nvmrc'
cache: 'npm'
- name: Cache Playwright browsers
uses: actions/cache@v4
uses: actions/cache@v6
with:
path: ~/.cache/ms-playwright
key: ${{ runner.os }}-playwright-${{ hashFiles('**/package-lock.json') }}
Expand All @@ -215,7 +215,7 @@ jobs:
echo '### Flaky tests' >> $GITHUB_STEP_SUMMARY
cat playwright-report/flaky.json >> $GITHUB_STEP_SUMMARY
fi
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
if: always()
with:
name: playwright-report-${{ matrix.browser }}
Expand All @@ -230,15 +230,15 @@ jobs:
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
fetch-depth: 0
- uses: actions/setup-node@v4
- uses: actions/setup-node@v7
with:
node-version-file: '.nvmrc'
cache: 'npm'
- name: Cache Playwright browsers
uses: actions/cache@v4
uses: actions/cache@v6
with:
path: ~/.cache/ms-playwright
key: ${{ runner.os }}-playwright-${{ hashFiles('**/package-lock.json') }}
Expand All @@ -250,7 +250,7 @@ jobs:
run: node scripts/generate-sbom.mjs sbom.json
- name: Upload SBOM artifact
if: github.ref == 'refs/heads/main'
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: sbom
path: sbom.json
Expand All @@ -266,7 +266,7 @@ jobs:
npm run test:storybook
- name: Run visual regression tests
run: npm run test:visual
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
- name: Build Storybook
run: npm run build:storybook
- name: Run Storybook accessibility tests
Expand All @@ -288,9 +288,9 @@ jobs:
name: E2E (Playwright)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- uses: actions/setup-node@v4
- uses: actions/setup-node@v7
with:
node-version-file: '.nvmrc'
cache: 'npm'
Expand All @@ -304,7 +304,7 @@ jobs:
run: npm ls --all > /dev/null
- name: Generate SBOM
run: npx --yes @cy
- uses: actions/setup-node@v4
- uses: actions/setup-node@v7
with:
node-version-file: '.nvmrc'
cache: 'npm'
Expand All @@ -315,10 +315,10 @@ jobs:
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
fetch-depth: 0
- uses: actions/setup-node@v4
- uses: actions/setup-node@v7
with:
node-version-file: '.nvmrc'
cache: 'npm'
Expand All @@ -332,7 +332,7 @@ jobs:
run: npm ls --all > /dev/null
- name: Generate SBOM
run: npx --yes @cyclonedx/cyclonedx-npm --output-file sbom.json
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
if: always()
with:
name: sbom
Expand All @@ -343,8 +343,8 @@ jobs:
name: E2E (Playwright)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/checkout@v7
- uses: actions/setup-node@v7
with:
node-version-file: '.nvmrc'
cache: 'npm'
Expand All @@ -354,7 +354,7 @@ jobs:
run: echo "version=$(npx playwright --version | awk '{print $2}')" >> "$GITHUB_OUTPUT"
- name: Cache Playwright browsers
id: playwright-cache
uses: actions/cache@v4
uses: actions/cache@v6
with:
path: ~/.cache/ms-playwright
key: playwright-${{ runner.os }}-${{ steps.playwright-version.outputs.version }}-chromium
Expand All @@ -366,7 +366,7 @@ jobs:
run: npx playwright install-deps chromium
- name: Run Playwright tests
run: npm run test:e2e -- --project=chromium
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
if: always()
with:
name: playwright-report
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/coverage-badge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ jobs:
if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
ref: ${{ github.event.workflow_run.head_branch || github.ref }}

- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v7
with:
node-version: 20
cache: npm
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
run: node scripts/generate-sbom.mjs sbom.json

- name: Upload SBOM artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: sbom
path: sbom.json
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
path: .next

- name: Download SBOM artifact
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: sbom
path: .
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/preview-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,12 +155,12 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v7
with:
node-version: 20
cache: 'npm'
Expand Down Expand Up @@ -204,7 +204,7 @@ jobs:

- name: Upload Playwright traces on failure
if: steps.smoke.outputs.smoke-failed == 'true' || failure()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: playwright-traces-${{ github.event.pull_request.number }}
path: |
Expand Down Expand Up @@ -243,7 +243,7 @@ jobs:

- name: Upload visual diff bundle
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: visual-diff-${{ github.event.pull_request.number }}
path: visual-diff/
Expand All @@ -252,7 +252,7 @@ jobs:

- name: Upload Lighthouse report
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: lighthouse-report-${{ github.event.pull_request.number }}
path: lighthouse-report/
Expand All @@ -261,7 +261,7 @@ jobs:

- name: Build consolidated report and upsert sticky comment
if: always()
uses: actions/github-script@v7
uses: actions/github-script@v9
env:
PREVIEW_URL: ${{ needs.deploy-preview.outputs.deployment-url }}
SMOKE_FAILED: ${{ steps.smoke.outputs.smoke-failed }}
Expand Down
Loading