chore(deps): update dependency @types/react-test-renderer to v18.3.1 … #8565
This file contains 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-e2e-prisma | |
on: | |
push: | |
branches: [dev, main] | |
paths: | |
- 'packages/db-main-prisma' | |
- 'package.json' | |
- '*.lock' | |
- '.yarnrc.yml' | |
- '.github/**' | |
pull_request: | |
types: [opened, synchronize, reopened] | |
paths: | |
- 'packages/db-main-prisma' | |
- 'package.json' | |
- '*.lock' | |
- '.yarnrc.yml' | |
- '.github/**' | |
jobs: | |
e2e: | |
# containers must run in Linux based operating systems | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
defaults: | |
run: | |
working-directory: packages/db-main-prisma | |
strategy: | |
fail-fast: false | |
matrix: | |
database: | |
- e2e-postgres | |
node-version: [20.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: ⚙️ Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: 📥 Monorepo install | |
uses: ./.github/actions/yarn-nm-install | |
- name: 🏁 Start postgresql | |
run: docker compose -f docker-compose.e2e.yml up ${{ matrix.database }} --wait --detach | |
- name: 🧪 E2E prisma | |
run: yarn test-e2e | |
env: | |
E2E_PRISMA_DATABASE_URL: postgresql://postgres:postgres@localhost:5432/db-main-prisma-e2e?schema=public |