Skip to content

Commit 922c28a

Browse files
committed
Lets try skipping pg-transaction on node 16
1 parent 6f7ac5f commit 922c28a

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
cache: yarn
2121
- run: yarn install --frozen-lockfile
2222
- run: yarn lint
23+
2324
build:
2425
timeout-minutes: 15
2526
needs: lint
@@ -73,4 +74,11 @@ jobs:
7374
node-version: ${{ matrix.node }}
7475
cache: yarn
7576
- run: yarn install --frozen-lockfile
76-
- run: yarn test
77+
- name: Run tests (skip pg-transaction under Node < 18)
78+
run: |
79+
if [[ "${{ matrix.node }}" -lt 18 ]]; then
80+
echo "Skipping pg-transaction tests on Node.js < 18"
81+
yarn workspaces foreach -v --exclude pg-transaction --topological-dev run test
82+
else
83+
yarn test
84+
fi

0 commit comments

Comments
 (0)