Skip to content

feat(check): delegate linting to lint command for consistency #777

feat(check): delegate linting to lint command for consistency

feat(check): delegate linting to lint command for consistency #777

Workflow file for this run

name: ⚡ CI
# Dependencies:
# - SocketDev/socket-registry/.github/workflows/ci.yml
on:
push:
branches: [main]
tags: ['*']
pull_request:
branches: [main]
workflow_dispatch:
inputs:
node-versions:
description: 'Node.js versions to test (JSON array)'
required: false
type: string
default: '["24.10.0"]'
permissions:
contents: read
jobs:
ci:
name: Run CI Pipeline
uses: SocketDev/socket-registry/.github/workflows/ci.yml@4709a2443e5a036bb0cd94e5d1559f138f05994c # main
with:
test-setup-script: 'pnpm run build'
lint-script: 'pnpm run lint --all'
type-check-script: 'pnpm run check'
test-script: 'pnpm exec vitest --config .config/vitest.config.mts run'
node-versions: ${{ inputs.node-versions || '["24.10.0"]' }}
os-versions: '["ubuntu-latest", "windows-latest"]'
fail-fast: false
max-parallel: 4
test-timeout-minutes: 15
# Isolated test suite - runs separately with full isolation
test-isolated:
name: Test (Isolated)
needs: ci
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: SocketDev/socket-registry/.github/actions/setup-and-install@4709a2443e5a036bb0cd94e5d1559f138f05994c # main
with:
node-version: '22'
- name: Build project
run: pnpm run build
- name: Run isolated tests
run: pnpm exec vitest --config .config/vitest.config.isolated.mts run