Skip to content

Commit 8a47c58

Browse files
committed
Move rebuild to build.yml
1 parent c2b0714 commit 8a47c58

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
@@ -10741,7 +10741,7 @@ binary@^0.3.0:
1074110741
resolved "https://registry.yarnpkg.com/binaryextensions/-/binaryextensions-2.3.0.tgz#1d269cbf7e6243ea886aa41453c3651ccbe13c22"
1074210742
integrity sha512-nAihlQsYGyc5Bwq6+EsubvANYGExeJKHDO3RjnvwU042fawQTQfM3Kxn7IHUXQOz4bzfwsGYYHGSvXyW4zOGLg==
1074310743

10744-
bindings@1.5.0, bindings@^1.4.0:
10744+
bindings@^1.4.0:
1074510745
version "1.5.0"
1074610746
resolved "https://registry.yarnpkg.com/bindings/-/bindings-1.5.0.tgz#10353c9e945334bc0511a6d90b38fbc7c9c504df"
1074710747
integrity sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==
@@ -19989,14 +19989,6 @@ [email protected]:
1998919989
sigstore "^1.4.0"
1999019990
ssri "^10.0.1"
1999119991

19992-
19993-
version "1.8.13"
19994-
resolved "https://registry.yarnpkg.com/libpq/-/libpq-1.8.13.tgz#d48af53c88defa7a20f958ef51bbbc0f58747355"
19995-
integrity sha512-t1wpnGVgwRIFSKoe4RFUllAFj953kNMcdXhGvFJwI0r6lJQqgSwTeiIciaCinjOmHk0HnFeWQSMC6Uw2591G4A==
19996-
dependencies:
19997-
bindings "1.5.0"
19998-
nan "2.19.0"
19999-
2000019992
2000119993
version "4.0.2"
2000219994
resolved "https://registry.yarnpkg.com/license-webpack-plugin/-/license-webpack-plugin-4.0.2.tgz#1e18442ed20b754b82f1adeff42249b81d11aec6"
@@ -22007,11 +21999,6 @@ named-placeholders@^1.1.3:
2200721999
dependencies:
2200822000
lru-cache "^7.14.1"
2200922001

22010-
22011-
version "2.19.0"
22012-
resolved "https://registry.yarnpkg.com/nan/-/nan-2.19.0.tgz#bb58122ad55a6c5bc973303908d5b16cfdd5a8c0"
22013-
integrity sha512-nO1xXxfh/RWNxfd/XPfbIfFk5vgLsAxUR9y5O0cHMJu/AW9U95JLXqthYHjEp+8gQ5p96K9jUp8nbVOxCdRbtw==
22014-
2201522002
nanoid@^3.3.3, nanoid@^3.3.4, nanoid@^3.3.6, nanoid@^3.3.7:
2201622003
version "3.3.7"
2201722004
resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.7.tgz#d0c301a691bc8d54efa0a2226ccf3fe2fd656bd8"
@@ -23850,14 +23837,6 @@ [email protected]:
2385023837
resolved "https://registry.yarnpkg.com/pg-int8/-/pg-int8-1.0.1.tgz#943bd463bf5b71b4170115f80f8efc9a0c0eb78c"
2385123838
integrity sha512-WCtabS6t3c8SkpDBUlb1kjOs7l66xsGdKpIPZsg4wR+B3+u9UAum2odSsF9tnvxg80h4ZxLWMy4pRjOsFIqQpw==
2385223839

23853-
23854-
version "3.2.0"
23855-
resolved "https://registry.yarnpkg.com/pg-native/-/pg-native-3.2.0.tgz#1183a549c00741040f1f47f9167a6bf378206826"
23856-
integrity sha512-9q9I6RmT285DiRc0xkYb8e+bwOIIbnfVLddnzzXW35K1sZc74dR+symo2oeuzSW/sDQ8n24gWAvlGWK/GDJ3+Q==
23857-
dependencies:
23858-
libpq "1.8.13"
23859-
pg-types "^1.12.1"
23860-
2386123840
2386223841
version "1.0.2"
2386323842
resolved "https://registry.yarnpkg.com/pg-numeric/-/pg-numeric-1.0.2.tgz#816d9a44026086ae8ae74839acd6a09b0636aa3a"
@@ -23878,17 +23857,6 @@ pg-protocol@^1.7.0:
2387823857
resolved "https://registry.yarnpkg.com/pg-protocol/-/pg-protocol-1.7.0.tgz#ec037c87c20515372692edac8b63cf4405448a93"
2387923858
integrity sha512-hTK/mE36i8fDDhgDFjy6xNOG+LCorxLG3WO17tku+ij6sVHXh1jQUJ8hYAnRhNla4QVD2H8er/FOjc/+EgC6yQ==
2388023859

23881-
pg-types@^1.12.1:
23882-
version "1.13.0"
23883-
resolved "https://registry.yarnpkg.com/pg-types/-/pg-types-1.13.0.tgz#75f490b8a8abf75f1386ef5ec4455ecf6b345c63"
23884-
integrity sha512-lfKli0Gkl/+za/+b6lzENajczwZHc7D5kiUCZfgm914jipD2kIOIvEkAhZ8GrW3/TUoP9w8FHjwpPObBye5KQQ==
23885-
dependencies:
23886-
pg-int8 "1.0.1"
23887-
postgres-array "~1.0.0"
23888-
postgres-bytea "~1.0.0"
23889-
postgres-date "~1.0.0"
23890-
postgres-interval "^1.1.0"
23891-
2389223860
pg-types@^2.1.0, pg-types@^2.2.0:
2389323861
version "2.2.0"
2389423862
resolved "https://registry.yarnpkg.com/pg-types/-/pg-types-2.2.0.tgz#2d0250d636454f7cfa3b6ae0382fdfa8063254a3"
@@ -24685,11 +24653,6 @@ postcss@^8.1.10, postcss@^8.2.14, postcss@^8.2.15, postcss@^8.3.7, postcss@^8.4.
2468524653
picocolors "^1.1.1"
2468624654
source-map-js "^1.2.1"
2468724655

24688-
postgres-array@~1.0.0:
24689-
version "1.0.3"
24690-
resolved "https://registry.yarnpkg.com/postgres-array/-/postgres-array-1.0.3.tgz#c561fc3b266b21451fc6555384f4986d78ec80f5"
24691-
integrity sha512-5wClXrAP0+78mcsNX3/ithQ5exKvCyK5lr5NEEEeGwwM6NJdQgzIJBVxLvRW+huFpX92F2QnZ5CcokH0VhK2qQ==
24692-
2469324656
postgres-array@~2.0.0:
2469424657
version "2.0.0"
2469524658
resolved "https://registry.yarnpkg.com/postgres-array/-/postgres-array-2.0.0.tgz#48f8fce054fbc69671999329b8834b772652d82e"
@@ -24712,7 +24675,7 @@ postgres-bytea@~3.0.0:
2471224675
dependencies:
2471324676
obuf "~1.1.2"
2471424677

24715-
postgres-date@~1.0.0, postgres-date@~1.0.4:
24678+
postgres-date@~1.0.4:
2471624679
version "1.0.7"
2471724680
resolved "https://registry.yarnpkg.com/postgres-date/-/postgres-date-1.0.7.tgz#51bc086006005e5061c591cee727f2531bf641a8"
2471824681
integrity sha512-suDmjLVQg78nMK2UZ454hAG+OAW+HQPZ6n++TNDUX+L0+uUlLywnoxJKDou51Zm+zTCjrCl0Nq6J9C5hP9vK/Q==

0 commit comments

Comments
 (0)