Improve --green auto-fix behavior with 10 automatic attempts before i… #280
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 🚀 CI Pipeline | |
# Dependencies: | |
# - SocketDev/socket-registry/.github/workflows/ci.yml | |
on: | |
push: | |
branches: [main] | |
tags: ['*'] | |
pull_request: | |
branches: [main] | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
ci: | |
name: Run CI Pipeline | |
uses: SocketDev/socket-registry/.github/workflows/ci.yml@17c8e09407f67149512e95e082a9c77dfe8e27a4 # main | |
with: | |
coverage-script: 'node scripts/cover.mjs --summary' | |
coverage-report-script: 'node scripts/cover.mjs --json' | |
fail-fast: false | |
lint-script: 'pnpm run lint-ci' | |
lint-setup-script: 'pnpm run build' | |
node-versions: '[20, 22, 24]' | |
os-versions: '["ubuntu-latest", "windows-latest"]' | |
test-script: 'pnpm run test-ci' | |
test-setup-script: 'pnpm run build' | |
type-check-script: 'pnpm run type-ci' | |
type-check-setup-script: 'pnpm run build' | |
test-npm-packages: | |
name: Test NPM Packages | |
runs-on: ubuntu-latest | |
timeout-minutes: 60 | |
steps: | |
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
- uses: SocketDev/socket-registry/.github/actions/setup-and-install@17c8e09407f67149512e95e082a9c77dfe8e27a4 # main | |
with: | |
node-version: 22 | |
- uses: SocketDev/socket-registry/.github/actions/cache-npm-packages@17c8e09407f67149512e95e082a9c77dfe8e27a4 # main | |
- name: Build registry | |
run: pnpm run build | |
- name: Run npm package tests | |
run: node scripts/test-npm-packages.mjs --force |