Lets try skipping pg-transaction on node 16

This commit is contained in:
Brian Carlson 2025-07-17 22:05:22 -05:00
parent 6f7ac5fa76
commit 922c28a13f

View File

@ -20,6 +20,7 @@ jobs:
cache: yarn
- run: yarn install --frozen-lockfile
- run: yarn lint
build:
timeout-minutes: 15
needs: lint
@ -73,4 +74,11 @@ jobs:
node-version: ${{ matrix.node }}
cache: yarn
- run: yarn install --frozen-lockfile
- run: yarn test
- name: Run tests (skip pg-transaction under Node < 18)
run: |
if [[ "${{ matrix.node }}" -lt 18 ]]; then
echo "Skipping pg-transaction tests on Node.js < 18"
yarn workspaces foreach -v --exclude pg-transaction --topological-dev run test
else
yarn test
fi