fix(deps): update nest monorepo to v10.4.8 (#7071) #29073
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: test | |
on: | |
push: | |
paths: | |
- orm/** | |
branches: | |
- latest | |
pull_request: | |
env: | |
CI: 1 | |
PRISMA_TELEMETRY_INFORMATION: 'prisma-examples test.yaml' | |
SLACK_WEBHOOK_URL_FAILING: ${{ secrets.SLACK_WEBHOOK_URL_FAILING }} | |
SKIP_PRISMA_VERSION_CHECK: true # Skip Prisma version check in typegraphl-prisma (https://github.com/MichalLytek/typegraphql-prisma/blob/fc7cfa756a60dd6671a902c38f00ee74698a681a/Readme.md#lifting-prisma-version-restriction) | |
jobs: | |
projects-matrix: | |
if: github.repository_owner == 'prisma' | |
runs-on: ubuntu-latest | |
outputs: | |
matrix: ${{ steps.set-matrix.outputs.matrix }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20.x' | |
- name: install deps | |
run: cd .github/scripts && yarn install | |
- name: get list of projects as json array | |
id: set-matrix | |
run: node .github/scripts/get-packages.js | |
test: | |
needs: projects-matrix | |
if: github.repository_owner == 'prisma' | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: ${{fromJson(needs.projects-matrix.outputs.matrix)}} | |
services: | |
postgres: | |
image: postgis/postgis:14-3.1-alpine | |
env: | |
POSTGRES_USER: postgres | |
POSTGRES_PASSWORD: password | |
POSTGRES_DB: testing | |
# Set health checks to wait until postgres has started | |
options: >- | |
--health-cmd pg_isready | |
--health-interval 10s | |
--health-timeout 5s | |
--health-retries 5 | |
ports: | |
- '5432:5432' | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '18' | |
- name: test | |
run: sh .github/scripts/test-all.sh ./${{ matrix.path }}/package.json |