Quick reference for all CI/CD workflows in this repository.
Workflow | Purpose | Triggers | Duration |
---|---|---|---|
ci.yml |
Complete CI pipeline | Push, PR, Manual | ~15 min |
test.yml |
Cross-platform tests | Push, PR, Manual | ~15 min |
lint.yml |
Code quality checks | Push, PR, Manual | ~5 min |
types.yml |
TypeScript validation | Push, PR, Manual | ~5 min |
provenance.yml |
Package publishing | Tag push | ~10 min |
claude.yml |
AI code review | Push to branches | ~2 min |
claude-auto-review.yml |
Auto PR review | Pull Request | ~3 min |
socket-auto-pr.yml |
Dependency PRs | Schedule | Varies |
# Run everything (same as CI)
pnpm test
# Individual checks
pnpm run check:lint # Lint check
pnpm run check:tsc # Type check
pnpm run test:unit # Unit tests
pnpm run coverage # Full coverage report
# Auto-fix
pnpm run fix # Fix all auto-fixable issues
pnpm run check-ci # CI lint check
pnpm run test-ci # CI test suite
All workflows use reusable workflows and actions from SocketDev/socket-registry
:
SocketDev/socket-registry/.github/workflows/test.yml@cb058af30991fa29b82f0c89f7d37397e067d292
# mainSocketDev/socket-registry/.github/workflows/lint.yml@cb058af30991fa29b82f0c89f7d37397e067d292
# mainSocketDev/socket-registry/.github/workflows/types.yml@cb058af30991fa29b82f0c89f7d37397e067d292
# main
SocketDev/socket-registry/.github/actions/setup-and-install@cb058af30991fa29b82f0c89f7d37397e067d292
# main - Setup Node.js and install dependenciesSocketDev/socket-registry/.github/actions/run-script@cb058af30991fa29b82f0c89f7d37397e067d292
# main - Execute scripts with error handlingSocketDev/socket-registry/.github/actions/artifacts@cb058af30991fa29b82f0c89f7d37397e067d292
# main - Upload test results and coverageSocketDev/socket-registry/.github/actions/debug@cb058af30991fa29b82f0c89f7d37397e067d292
# main - Debug workflow troubleshootingSocketDev/socket-registry/.github/actions/cache-npm-packages@cb058af30991fa29b82f0c89f7d37397e067d292
# main - Cache npm package operations
File | Purpose |
---|---|
.github/workflows/*.yml |
GitHub Actions workflows |
eslint.config.mjs |
ESLint configuration |
.oxlintrc.json |
Oxlint configuration |
biome.json |
Biome formatter/linter |
tsconfig.json |
TypeScript configuration |
vitest.config.js |
Test configuration |
- Node 20: Active LTS
- Node 22: Active LTS
- Node 24: Current
- Ubuntu Latest: Primary platform
- Windows Latest: Windows compatibility
Current coverage: 100%
- Statements: 100%
- Branches: 100%
- Functions: 100%
- Lines: 100%
- Types: 100%
Tests pass locally but fail in CI
- Check Node.js version:
node --version
- Verify environment: CI uses
.env.test
- Check platform: Test on Windows if using Windows CI
Type check fails
- Run build first:
pnpm run build
- Check tsgo version:
pnpm list @typescript/native-preview
Lint failures
- Auto-fix:
pnpm run fix
- Check all linters:
pnpm run check:lint
- Review workflow logs in GitHub Actions tab
- Check CI.md for detailed documentation
- Review ARCHITECTURE.md for visual architecture
- Review CLAUDE.md for project guidelines
# Update all dependencies
pnpm run update
# Update Socket dependencies only
pnpm run update:socket
# Check for updates
pnpm run taze
When updating workflows:
- Test changes on a branch
- Monitor CI results carefully
- Update documentation if behavior changes
- Consider backward compatibility
When Node releases new versions:
- Update
node-versions
in workflow files - Test thoroughly on new version
- Update
engines.node
in package.json - Update CI.md documentation
- CI Documentation - Comprehensive CI guide
- Architecture - Visual workflow architecture
- CLAUDE.md - Development guidelines