Skip to content

chore(deps): bump actions/checkout from 6.0.3 to 7.0.1 #190

chore(deps): bump actions/checkout from 6.0.3 to 7.0.1

chore(deps): bump actions/checkout from 6.0.3 to 7.0.1 #190

Workflow file for this run

name: CI
on:
pull_request:
types: [opened, synchronize, reopened, edited]
push:
branches: [main]
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
prepare-verification:
name: Prepare verification matrix
runs-on: ubuntu-latest
outputs:
steps: ${{ steps.profile.outputs.steps }}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v6
with:
fetch-depth: 0
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: "1.3.5"
- id: profile
name: Read full profile from the verification module
run: echo "steps=$(bun scripts/verify.ts full --list-steps)" >> "$GITHUB_OUTPUT"
verify:
name: Verify / ${{ matrix.step }}
needs: prepare-verification
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
step: ${{ fromJSON(needs.prepare-verification.outputs.steps) }}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v6
with:
fetch-depth: 0
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: "1.3.5"
- run: bun install --frozen-lockfile
- name: Run verification step
env:
BASE: ${{ github.event_name == 'pull_request' && github.event.pull_request.base.sha || github.event.before }}
run: bun scripts/verify.ts full --step "${{ matrix.step }}"
package-compatibility:
name: Package compatibility / Node ${{ matrix.node }}${{ matrix.scope == 'sdk' && ' (sdk-only)' || '' }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
# Full consumer smoke (sdk + playground + cli) on the repo baseline.
- node: 22
scope: all
- node: 24
scope: all
# SDK-only smoke on the sdk engines floor (>=18.17.0): cli/playground
# require Node >=22, so only the sdk tarball is installed and imported.
- node: 18.17.0
scope: sdk
- node: 20
scope: sdk
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v6
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: "1.3.5"
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: ${{ matrix.node }}
package-manager-cache: false
- run: bun install --frozen-lockfile
- if: matrix.scope == 'all'
run: |
bun scripts/verify.ts release --step build-packages
bun scripts/verify.ts release --step package-smoke
- if: matrix.scope == 'sdk'
run: |
bun run build:sdk
bun scripts/release/smoke-packed.ts --sdk-only
gate:
name: Gate
runs-on: ubuntu-latest
needs: [prepare-verification, verify, package-compatibility]
if: always()
steps:
- name: Check results
run: |
if [ "${{ needs.prepare-verification.result }}" != "success" ] || \
[ "${{ needs.verify.result }}" != "success" ] || \
[ "${{ needs.package-compatibility.result }}" != "success" ]; then
echo "One or more required checks failed."
exit 1
fi
echo "All checks passed."