/
githubmirror
/
socket.io
Обзор
Документация
Войти
/
githubmirror
/
socket.io
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
.github/workflows/ci-socket.io-cluster-engine.yml
82 строки
2 KB
Damien Arrachequesne
ci: add missing path filters
29 май 2026, 12:20
Не верифицирован
29 май 2026, 12:20
d8824a7
Код
Авторство
О чём код?
name: CI (@socket.io/cluster-engine) on: push: branches: - '**' paths: - 'packages/engine.io/**' - 'packages/engine.io-client/**' - 'packages/engine.io-parser/**' - 'packages/socket.io/**' - 'packages/socket.io-adapter/**' - 'packages/socket.io-client/**' - 'packages/socket.io-cluster-engine/**' - 'packages/socket.io-component-emitter/**' - 'packages/socket.io-parser/**' - '.github/workflows/ci-socket.io-cluster-engine.yml' pull_request: paths: - 'packages/engine.io/**' - 'packages/engine.io-client/**' - 'packages/engine.io-parser/**' - 'packages/socket.io/**' - 'packages/socket.io-adapter/**' - 'packages/socket.io-client/**' - 'packages/socket.io-cluster-engine/**' - 'packages/socket.io-component-emitter/**' - 'packages/socket.io-parser/**' - '.github/workflows/ci-socket.io-cluster-engine.yml' permissions: contents: read jobs: test: runs-on: ubuntu-latest timeout-minutes: 10 services: redis: image: redis:7 options: >- --health-cmd "redis-cli ping" --health-interval 10s --health-timeout 5s --health-retries 5 ports: - 6379:6379 steps: - name: Checkout repository uses: actions/checkout@v6 - name: Use Node.js 24 uses: actions/setup-node@v6 with: node-version: 24 cache: npm - name: Install dependencies run: npm ci - name: Compile dependencies run: | npm run compile \ --workspace=engine.io-parser \ --workspace=engine.io - name: Compile package run: npm run compile --workspace=@socket.io/cluster-engine - name: Compile dev dependencies run: | npm run compile \ --workspace=engine.io-client \ --workspace=socket.io-parser \ --workspace=socket.io-client \ --workspace=socket.io-adapter \ --workspace=socket.io - name: Run tests run: npm test --workspace=@socket.io/cluster-engine