Skip to content

Bump actions/setup-node from 7.0.0 to 7.1.0 #114

Bump actions/setup-node from 7.0.0 to 7.1.0

Bump actions/setup-node from 7.0.0 to 7.1.0 #114

Workflow file for this run

name: Marketplace
on:
# Required checks must also run for documentation and governance changes.
pull_request:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
concurrency:
group: marketplace-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
validate:
name: Marketplace catalog
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: "22.19.0"
package-manager-cache: false
- run: npm run validate:marketplace
runner-contracts:
name: Marketplace runner / ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
timeout-minutes: 5
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: "22.19.0"
package-manager-cache: false
- name: Exercise lifecycle dispatch, literal arguments and fail-fast cleanup
run: npm run test:marketplace:runner
plugin-suites:
name: Marketplace plugin suites
runs-on: macos-latest
timeout-minutes: 30
env:
FUSION_TEST_PYTHON: python
PYTHONDONTWRITEBYTECODE: "1"
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: "22.19.0"
package-manager-cache: false
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
id: fusion-python
with:
python-version: "3.12"
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
with:
python-version: "3.14"
- name: Prepare Physical Engineering runtime and preserve Fusion Python
run: |
python -m pip install --disable-pip-version-check uv==0.13.7
python plugins/physical-engineering/scripts/engineering.py setup --runtime "$RUNNER_TEMP/physical-engineering-runtime"
printf 'PE_RUNTIME=%s\n' "$RUNNER_TEMP/physical-engineering-runtime" >> "$GITHUB_ENV"
printf 'PE_PYTHON=%s\n' "$RUNNER_TEMP/physical-engineering-runtime/bin/python" >> "$GITHUB_ENV"
printf 'FUSION_TEST_PYTHON=%s\n' '${{ steps.fusion-python.outputs.python-path }}' >> "$GITHUB_ENV"
- name: Validate catalog before selecting package directories
run: npm run validate:marketplace
- name: Install catalog packages' locked development dependencies without lifecycle scripts
shell: bash
run: |
node --input-type=module <<'NODE'
import fs from 'node:fs';
import { spawnSync } from 'node:child_process';
const catalog = JSON.parse(fs.readFileSync('.agents/plugins/marketplace.json', 'utf8'));
for (const entry of catalog.plugins) {
const directory = `plugins/${entry.name}`;
if (!fs.existsSync(`${directory}/package-lock.json`)) continue;
const result = spawnSync('npm', ['ci', '--ignore-scripts'], { cwd: directory, stdio: 'inherit' });
if (result.error || result.status !== 0) process.exit(result.status ?? 1);
}
NODE
- name: Run each catalog entry's root master suite
run: npm run test:marketplace
- name: Validate the complete marketplace after all suites
run: npm run validate