/
githubmirror
/
socket.io
Обзор
Документация
Войти
/
githubmirror
/
socket.io
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
.github/workflows/ci-socket.io-postgres-emitter.yml
80 строк
2 KB
Damien Arrachequesne
ci: add missing path filters
29 май 2026, 12:20
Не верифицирован
29 май 2026, 12:20
d8824a7
Код
Авторство
О чём код?
name: CI (@socket.io/postgres-emitter) 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-parser/**' - 'packages/socket.io-postgres-emitter/**' - '.github/workflows/ci-socket.io-postgres-emitter.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-parser/**' - 'packages/socket.io-postgres-emitter/**' - '.github/workflows/ci-socket.io-postgres-emitter.yml' permissions: contents: read jobs: test: runs-on: ubuntu-latest timeout-minutes: 10 services: postgres: image: postgres:14 env: POSTGRES_PASSWORD: changeit options: >- --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 ports: - 5432:5432 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 package run: npm run compile --workspace=@socket.io/postgres-emitter - name: Compile dev dependencies run: | npm run compile \ --workspace=engine.io-parser \ --workspace=engine.io-client \ --workspace=engine.io \ --workspace=socket.io-parser \ --workspace=socket.io-client \ --workspace=socket.io-adapter \ --workspace=socket.io - name: Run tests run: npm test --workspace=@socket.io/postgres-emitter