Skip to content

Commit

Permalink
pnpm not found
Browse files Browse the repository at this point in the history
  • Loading branch information
pmp-p committed Aug 12, 2024
1 parent 97ee4f2 commit 1f7dc62
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
4 changes: 4 additions & 0 deletions cibuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ else

fi

export PATH=$PATH:$(echo -n $EMSDK/node/*_64bit/bin)

export CC_PGLITE


Expand Down Expand Up @@ -401,8 +403,10 @@ do
;;

pglite-test) echo "================== pglite-test ========================="
pushd ./packages/pglite
pnpm exec playwright install --with-deps
pnpm run test
popd
;;

pglite-prep) echo "==================== pglite-prep =========================="
Expand Down
11 changes: 5 additions & 6 deletions patches/pg_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1281,6 +1281,7 @@ extra_env:;
// also we store the fake locale file there.
// postgres.js:1605 You must specify the --config-file or -D invocation option or set the PGDATA environment variable.

/* enforce ? */
setenv("PGSYSCONFDIR", WASM_PREFIX, 1);
setenv("PGCLIENTENCODING", "UTF8", 1);

Expand All @@ -1293,15 +1294,13 @@ extra_env:;

setenv("LC_CTYPE", "C" , 1);

/* default username */
setenv("PGUSER", WASM_USERNAME , 0);
/* defaults */

/* default path */
setenv("TZ", "UTC", 0);
setenv("PGTZ", "UTC", 0);
setenv("PGUSER", WASM_USERNAME , 0);
setenv("PGDATA", PGDB , 0);

/* default database */
setenv("PGDATABASE", "template1" , 0);

setenv("PG_COLOR", "always", 0);

#if PGDEBUG
Expand Down

0 comments on commit 1f7dc62

Please sign in to comment.