Skip to content

Commit 66dd508

Browse files
committed
fix(hasura.io)
closes #14964
1 parent c0ffdc9 commit 66dd508

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

‎projects/hasura.io/package.yml‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,14 @@ build:
2828
- npm update pkg # see https://github.com/hasura/graphql-engine/issues/9440
2929
- npm install --global --build-from-source --prefix={{prefix}}
3030
- npm run prebuild
31-
- node_modules/.bin/pkg ./build/command.js --output ./bin/cli-ext-hasura -t host
31+
32+
- run: node_modules/.bin/pkg ./build/command.js --output ./bin/cli-ext-hasura -t host
33+
working-directory: cli-ext
34+
if: ">=2.50"
35+
# <2.50 (the 2.45 backports) still use vercel's pkg 5.8, which tops out at node18
36+
- run: node_modules/.bin/pkg ./build/command.js --output ./bin/cli-ext-hasura -t node18
37+
working-directory: cli-ext
38+
if: "<2.50"
3239

3340
- working-directory: cli
3441
run:

0 commit comments

Comments
 (0)