Skip to content

Commit 7770c62

Browse files
committed
Move rebuild to build.yml
1 parent dbff71a commit 7770c62

File tree

3 files changed

+8
-41
lines changed

3 files changed

+8
-41
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -692,6 +692,10 @@ jobs:
692692
with:
693693
dependency_cache_key: ${{ needs.job_build.outputs.dependency_cache_key }}
694694

695+
- name: Build `pg-native`
696+
run: yarn pg-native:build
697+
working-directory: dev-packages/node-integration-tests
698+
695699
- name: Overwrite typescript version
696700
if: matrix.typescript == '3.8'
697701
run: node ./scripts/use-ts-3_8.js

dev-packages/node-integration-tests/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@
1818
"clean:script": "node scripts/clean.js",
1919
"prisma-v5:init": "cd suites/tracing/prisma-orm-v5 && yarn && yarn setup",
2020
"prisma-v6:init": "cd suites/tracing/prisma-orm-v6 && yarn && yarn setup",
21-
"pg-native:rebuild": "yarn add --force pg-native --frozen-lockfile",
21+
"pg-native:build": "npm rebuild pg-native",
2222
"lint": "eslint . --format stylish",
2323
"fix": "eslint . --format stylish --fix",
2424
"type-check": "tsc",
25-
"pretest": "run-s --silent pg-native:rebuild prisma-v5:init prisma-v6:init",
25+
"pretest": "run-s --silent prisma-v5:init prisma-v6:init",
2626
"test": "jest --config ./jest.config.js",
2727
"test:watch": "yarn test --watch"
2828
},

yarn.lock

Lines changed: 2 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -10713,7 +10713,7 @@ binary@^0.3.0:
1071310713
resolved "https://registry.yarnpkg.com/binaryextensions/-/binaryextensions-2.3.0.tgz#1d269cbf7e6243ea886aa41453c3651ccbe13c22"
1071410714
integrity sha512-nAihlQsYGyc5Bwq6+EsubvANYGExeJKHDO3RjnvwU042fawQTQfM3Kxn7IHUXQOz4bzfwsGYYHGSvXyW4zOGLg==
1071510715

10716-
bindings@1.5.0, bindings@^1.4.0:
10716+
bindings@^1.4.0:
1071710717
version "1.5.0"
1071810718
resolved "https://registry.yarnpkg.com/bindings/-/bindings-1.5.0.tgz#10353c9e945334bc0511a6d90b38fbc7c9c504df"
1071910719
integrity sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==
@@ -19961,14 +19961,6 @@ [email protected]:
1996119961
sigstore "^1.4.0"
1996219962
ssri "^10.0.1"
1996319963

19964-
19965-
version "1.8.13"
19966-
resolved "https://registry.yarnpkg.com/libpq/-/libpq-1.8.13.tgz#d48af53c88defa7a20f958ef51bbbc0f58747355"
19967-
integrity sha512-t1wpnGVgwRIFSKoe4RFUllAFj953kNMcdXhGvFJwI0r6lJQqgSwTeiIciaCinjOmHk0HnFeWQSMC6Uw2591G4A==
19968-
dependencies:
19969-
bindings "1.5.0"
19970-
nan "2.19.0"
19971-
1997219964
1997319965
version "4.0.2"
1997419966
resolved "https://registry.yarnpkg.com/license-webpack-plugin/-/license-webpack-plugin-4.0.2.tgz#1e18442ed20b754b82f1adeff42249b81d11aec6"
@@ -21979,11 +21971,6 @@ named-placeholders@^1.1.3:
2197921971
dependencies:
2198021972
lru-cache "^7.14.1"
2198121973

21982-
21983-
version "2.19.0"
21984-
resolved "https://registry.yarnpkg.com/nan/-/nan-2.19.0.tgz#bb58122ad55a6c5bc973303908d5b16cfdd5a8c0"
21985-
integrity sha512-nO1xXxfh/RWNxfd/XPfbIfFk5vgLsAxUR9y5O0cHMJu/AW9U95JLXqthYHjEp+8gQ5p96K9jUp8nbVOxCdRbtw==
21986-
2198721974
nanoid@^3.3.3, nanoid@^3.3.4, nanoid@^3.3.6, nanoid@^3.3.7:
2198821975
version "3.3.7"
2198921976
resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.7.tgz#d0c301a691bc8d54efa0a2226ccf3fe2fd656bd8"
@@ -23822,14 +23809,6 @@ [email protected]:
2382223809
resolved "https://registry.yarnpkg.com/pg-int8/-/pg-int8-1.0.1.tgz#943bd463bf5b71b4170115f80f8efc9a0c0eb78c"
2382323810
integrity sha512-WCtabS6t3c8SkpDBUlb1kjOs7l66xsGdKpIPZsg4wR+B3+u9UAum2odSsF9tnvxg80h4ZxLWMy4pRjOsFIqQpw==
2382423811

23825-
23826-
version "3.2.0"
23827-
resolved "https://registry.yarnpkg.com/pg-native/-/pg-native-3.2.0.tgz#1183a549c00741040f1f47f9167a6bf378206826"
23828-
integrity sha512-9q9I6RmT285DiRc0xkYb8e+bwOIIbnfVLddnzzXW35K1sZc74dR+symo2oeuzSW/sDQ8n24gWAvlGWK/GDJ3+Q==
23829-
dependencies:
23830-
libpq "1.8.13"
23831-
pg-types "^1.12.1"
23832-
2383323812
2383423813
version "1.0.2"
2383523814
resolved "https://registry.yarnpkg.com/pg-numeric/-/pg-numeric-1.0.2.tgz#816d9a44026086ae8ae74839acd6a09b0636aa3a"
@@ -23850,17 +23829,6 @@ pg-protocol@^1.7.0:
2385023829
resolved "https://registry.yarnpkg.com/pg-protocol/-/pg-protocol-1.7.0.tgz#ec037c87c20515372692edac8b63cf4405448a93"
2385123830
integrity sha512-hTK/mE36i8fDDhgDFjy6xNOG+LCorxLG3WO17tku+ij6sVHXh1jQUJ8hYAnRhNla4QVD2H8er/FOjc/+EgC6yQ==
2385223831

23853-
pg-types@^1.12.1:
23854-
version "1.13.0"
23855-
resolved "https://registry.yarnpkg.com/pg-types/-/pg-types-1.13.0.tgz#75f490b8a8abf75f1386ef5ec4455ecf6b345c63"
23856-
integrity sha512-lfKli0Gkl/+za/+b6lzENajczwZHc7D5kiUCZfgm914jipD2kIOIvEkAhZ8GrW3/TUoP9w8FHjwpPObBye5KQQ==
23857-
dependencies:
23858-
pg-int8 "1.0.1"
23859-
postgres-array "~1.0.0"
23860-
postgres-bytea "~1.0.0"
23861-
postgres-date "~1.0.0"
23862-
postgres-interval "^1.1.0"
23863-
2386423832
pg-types@^2.1.0, pg-types@^2.2.0:
2386523833
version "2.2.0"
2386623834
resolved "https://registry.yarnpkg.com/pg-types/-/pg-types-2.2.0.tgz#2d0250d636454f7cfa3b6ae0382fdfa8063254a3"
@@ -24657,11 +24625,6 @@ postcss@^8.1.10, postcss@^8.2.14, postcss@^8.2.15, postcss@^8.3.7, postcss@^8.4.
2465724625
picocolors "^1.1.1"
2465824626
source-map-js "^1.2.1"
2465924627

24660-
postgres-array@~1.0.0:
24661-
version "1.0.3"
24662-
resolved "https://registry.yarnpkg.com/postgres-array/-/postgres-array-1.0.3.tgz#c561fc3b266b21451fc6555384f4986d78ec80f5"
24663-
integrity sha512-5wClXrAP0+78mcsNX3/ithQ5exKvCyK5lr5NEEEeGwwM6NJdQgzIJBVxLvRW+huFpX92F2QnZ5CcokH0VhK2qQ==
24664-
2466524628
postgres-array@~2.0.0:
2466624629
version "2.0.0"
2466724630
resolved "https://registry.yarnpkg.com/postgres-array/-/postgres-array-2.0.0.tgz#48f8fce054fbc69671999329b8834b772652d82e"
@@ -24684,7 +24647,7 @@ postgres-bytea@~3.0.0:
2468424647
dependencies:
2468524648
obuf "~1.1.2"
2468624649

24687-
postgres-date@~1.0.0, postgres-date@~1.0.4:
24650+
postgres-date@~1.0.4:
2468824651
version "1.0.7"
2468924652
resolved "https://registry.yarnpkg.com/postgres-date/-/postgres-date-1.0.7.tgz#51bc086006005e5061c591cee727f2531bf641a8"
2469024653
integrity sha512-suDmjLVQg78nMK2UZ454hAG+OAW+HQPZ6n++TNDUX+L0+uUlLywnoxJKDou51Zm+zTCjrCl0Nq6J9C5hP9vK/Q==

0 commit comments

Comments
 (0)