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
30 changes: 15 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v7
with:
node-version: '24'

Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
fetch_depth: 0
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
fetch-depth: ${{ matrix.fetch_depth }}

Expand Down Expand Up @@ -158,10 +158,10 @@ jobs:
- plugin: fchub-wishlist
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v7
with:
node-version: '24'

Expand All @@ -170,7 +170,7 @@ jobs:

- name: Upload rejected package evidence
if: failure()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: wporg-package-${{ matrix.plugin }}-failure
path: |
Expand All @@ -183,7 +183,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
# `Check for changes` below diffs against the pull request base, which
# a depth-1 checkout does not contain: the diff fails, the count comes
Expand All @@ -199,7 +199,7 @@ jobs:

- name: Setup Node.js
if: steps.changes.outputs.count > 0
uses: actions/setup-node@v4
uses: actions/setup-node@v7
with:
node-version: '20'
cache: 'npm'
Expand All @@ -222,7 +222,7 @@ jobs:

- name: Cache Playwright browsers
if: steps.changes.outputs.count > 0
uses: actions/cache@v4
uses: actions/cache@v6

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Update contract assertions with the action bumps

When any pull request triggers ci.yml, the workflow-contract job runs four committed contract suites that still require the old action majors (including actions/cache@v4, checkout@v4, and artifact actions at v4). Running the exact command from that job now fails 6 of 25 tests, so this dependency-only change makes CI unconditionally red; update the assertions in the corresponding *.test.mjs files alongside these workflow versions.

Useful? React with 👍 / 👎.

with:
path: ~/.cache/ms-playwright
key: ${{ runner.os }}-playwright-${{ hashFiles('plugins/fchub-memberships/package-lock.json') }}
Expand Down Expand Up @@ -264,7 +264,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
# `Check for changes` below diffs against the pull request base, which
# a depth-1 checkout does not contain: the diff fails, the count comes
Expand All @@ -280,7 +280,7 @@ jobs:

- name: Setup Node.js
if: steps.changes.outputs.count > 0
uses: actions/setup-node@v4
uses: actions/setup-node@v7
with:
node-version: '20'
cache: 'npm'
Expand Down Expand Up @@ -320,7 +320,7 @@ jobs:
# job remains because the repository asserts Stream is still here for a
# possible return, not because anything is expected to run.
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Check for changes
id: changes
Expand All @@ -330,7 +330,7 @@ jobs:

- name: Setup Node.js
if: steps.changes.outputs.count > 0
uses: actions/setup-node@v4
uses: actions/setup-node@v7
with:
node-version: '20'

Expand Down Expand Up @@ -385,10 +385,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v7
with:
node-version: '22'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/claude-interactive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
group: claude-interactive-${{ github.event.issue.number || github.event.pull_request.number }}
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
fetch-depth: 0

Expand All @@ -39,7 +39,7 @@ jobs:
coverage: none

- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v7
with:
node-version: '20'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/claude-pr-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
cancel-in-progress: true
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
fetch-depth: 0

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ jobs:
name: Version Consistency
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: '22'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/issue-triage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Run Claude Code
uses: anthropics/claude-code-action@v1
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/mcp-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ jobs:
name: Quality
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: '24'
cache: 'npm'
Expand All @@ -77,9 +77,9 @@ jobs:
name: Test
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: '24'
cache: 'npm'
Expand Down Expand Up @@ -131,9 +131,9 @@ jobs:
source_sha: ${{ steps.identity.outputs.source_sha }}
artifact_name: ${{ steps.identity.outputs.artifact_name }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- uses: actions/setup-node@v4
- uses: actions/setup-node@v7
with:
node-version: '24'
cache: 'npm'
Expand Down Expand Up @@ -224,7 +224,7 @@ jobs:

# Immutable handoff. Every publication job consumes these bytes and their digests.
- name: Upload release artefacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: ${{ env.RELEASE_ARTIFACT_NAME }}
path: fluentcart-mcp/dist-packages/
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/mcp-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
source_sha: ${{ steps.build.outputs.source_sha }}
steps:
- name: Download validated artefacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: ${{ inputs.artifact_name || needs.validate.outputs.artifact_name }}
path: dist-packages
Expand All @@ -69,15 +69,15 @@ jobs:
# SHA256SUMS.json before extracting a single byte, so the image cannot be built from
# anything other than the archive that was inspected.
- name: Checkout build tooling
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
sparse-checkout: |
fluentcart-mcp/scripts
fluentcart-mcp/tests/acceptance/docker.test.mjs
fluentcart-mcp/package.json
sparse-checkout-cone-mode: false

- uses: actions/setup-node@v4
- uses: actions/setup-node@v7
with:
node-version: '24'

Expand Down Expand Up @@ -210,7 +210,7 @@ jobs:
run: docker save "${LOCAL_REPOSITORY}:${VERSION}" -o fluentcart-mcp-image.tar

- name: Upload verified image
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: ${{ env.IMAGE_ARTIFACT }}
path: fluentcart-mcp-image.tar
Expand All @@ -227,22 +227,22 @@ jobs:
packages: write
steps:
- name: Download verified image
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: ${{ env.IMAGE_ARTIFACT }}

- name: Load verified image
run: docker load -i fluentcart-mcp-image.tar

- name: Login to GitHub Container Registry
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Login to Docker Hub
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/mcp-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@ jobs:
id-token: write
steps:
- name: Download validated artefacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: ${{ needs.validate.outputs.artifact_name }}
path: dist-packages

- uses: actions/setup-node@v4
- uses: actions/setup-node@v7
with:
node-version: '24'
registry-url: https://registry.npmjs.org
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
contents: write
steps:
- name: Download validated artefacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: ${{ needs.validate.outputs.artifact_name }}
path: dist-packages
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
is_wporg: ${{ steps.tag.outputs.is_wporg }}
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
fetch-depth: 0

Expand Down Expand Up @@ -96,12 +96,12 @@ jobs:
timeout-minutes: 30
steps:
- name: Checkout validated tag SHA
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v7
with:
node-version: '24'

Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:

- name: Download validated WordPress.org ZIP
if: needs.prepare.outputs.is_wporg == 'true'
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: wporg-package-${{ needs.prepare.outputs.slug }}
path: dist
Expand Down
Loading
Loading