Skip to content

docs: update generatedType docs for PostgreSQL 18 VIRTUAL column support #5306

docs: update generatedType docs for PostgreSQL 18 VIRTUAL column support

docs: update generatedType docs for PostgreSQL 18 VIRTUAL column support #5306

Workflow file for this run

name: Tests
on:
push:
branches:
- master
pull_request:
merge_group:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
detect-changes:
runs-on: ubuntu-latest
outputs:
changes: ${{ steps.detect-changes.outputs.changes }}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1
id: detect-changes
with:
filters: |
package-json: &package-json
- package.json
- package-lock.json
ci: &ci
- .github/**/*
- .pr_agent.toml
- pr_compliance_checklist.yaml
docs: &docs
- docs/**/*
src: &src
- *package-json
- extra/**/*.js
- src/**/*.ts
- gulpfile.ts
- tsconfig.json
- tsconfig.browser.json
- tsconfig.node.json
src-or-tests: &src-or-tests
- *src
- .github/actions/setup-node/**
- .github/actions/upload-coverage/**
- .github/workflows/test*.yml
- docker-compose.yml
- docker/**/*
- test/**/*
- .c8rc.json
- .mocharc.json
- ormconfig.sample.json
lint:
- *src-or-tests
- eslint.config.mjs
- packages/codemod/**/*
codemod:
- packages/codemod/**/*
legacy-naming-strategies:
- packages/legacy-naming-strategies/**/*
docs:
if: contains(needs.detect-changes.outputs.changes, 'docs')
needs: detect-changes
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: ./.github/actions/build-docs
build:
if: contains(needs.detect-changes.outputs.changes, 'src-or-tests')
needs: detect-changes
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: ./.github/actions/setup-node
- run: pnpm run compile
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: build
path: build/
retention-days: 1
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: ./.github/actions/setup-node
- run: pnpm run format:ci
lint:
if: contains(needs.detect-changes.outputs.changes, 'lint')
needs: detect-changes
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: ./.github/actions/setup-node
- run: pnpm run lint
- run: pnpm install --frozen-lockfile
working-directory: packages/codemod
- run: pnpm run lint
working-directory: packages/codemod
tests-linux:
if: contains(needs.detect-changes.outputs.changes, 'src-or-tests')
needs: [detect-changes, build]
strategy:
fail-fast: false
matrix:
node-version: [20, 24]
uses: ./.github/workflows/tests-linux.yml
with:
node-version: ${{matrix.node-version}}
tests-windows:
if: contains(needs.detect-changes.outputs.changes, 'src-or-tests')
needs: [detect-changes, build]
uses: ./.github/workflows/tests-windows.yml
with:
node-version: 22
tests-codemod:
if: contains(needs.detect-changes.outputs.changes, 'codemod')
needs: detect-changes
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0 # SonarQube needs full history for blame and PR diffing against master
- uses: ./.github/actions/setup-node
with:
working-directory: packages/codemod
- run: pnpm exec c8 pnpm test
working-directory: packages/codemod
- uses: SonarSource/sonarqube-scan-action@22918119ff8e1ca75a623e15c8296b6ea4fbe28f # v8.2.1
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
with:
projectBaseDir: packages/codemod
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
tests-legacy-naming-strategies:
if: contains(needs.detect-changes.outputs.changes, 'legacy-naming-strategies')
needs: detect-changes
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0 # SonarQube needs full history for blame and PR diffing against master
- uses: ./.github/actions/setup-node
with:
working-directory: packages/legacy-naming-strategies
- run: pnpm exec c8 pnpm test
working-directory: packages/legacy-naming-strategies
- uses: SonarSource/sonarqube-scan-action@22918119ff8e1ca75a623e15c8296b6ea4fbe28f # v8.2.1
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
with:
projectBaseDir: packages/legacy-naming-strategies
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
coverage:
if: contains(needs.detect-changes.outputs.changes, 'src-or-tests')
runs-on: ubuntu-latest
needs: [detect-changes, tests-linux, tests-windows]
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0 # SonarQube needs full history for blame and PR diffing against master
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
pattern: coverage-*
path: coverage/
- uses: SonarSource/sonarqube-scan-action@22918119ff8e1ca75a623e15c8296b6ea4fbe28f # v8.2.1
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
all-passed:
runs-on: ubuntu-latest
if: always()
needs:
- build
- coverage
- detect-changes
- docs
- format
- lint
- tests-codemod
- tests-legacy-naming-strategies
- tests-linux
- tests-windows
steps:
- run: exit ${{ contains(needs.*.result, 'failure') && 1 || 0 }}