Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
albaintor committed Oct 9, 2024
1 parent d580a66 commit 6da1260
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
cd server
npm ci
echo "Building NodeJS app to bundle compatible with CommonJS format for executable injection"
npx esbuild --format=cjs --target=node21 --platform=node --bundle --outfile=bundle.js app.js
npx esbuild --format=cjs --target=node22 --platform=node --bundle --outfile=bundle.js app.js
echo "Creating blob for injection"
node --experimental-sea-config sea-config.json
node -e "require('fs').copyFileSync(process.execPath, 'ucrtool-server.exe')"
Expand Down Expand Up @@ -145,7 +145,7 @@ jobs:
cd server
npm ci
echo "Building NodeJS app to bundle compatible with CommonJS format for executable injection"
npx esbuild --format=cjs --target=node21 --platform=node --bundle --outfile=bundle.js app.js
npx esbuild --format=cjs --target=node22 --platform=node --bundle --outfile=bundle.js app.js
echo "Creating blob for injection"
node --experimental-sea-config sea-config.json
cp $(command -v node) ucrtool-server
Expand Down Expand Up @@ -225,7 +225,7 @@ jobs:
cd server
npm ci
echo "Building NodeJS app to bundle compatible with CommonJS format for executable injection"
npx esbuild --format=cjs --target=node21 --platform=node --bundle --outfile=bundle.js app.js
npx esbuild --format=cjs --target=node22 --platform=node --bundle --outfile=bundle.js app.js
echo "Creating blob for injection"
node --experimental-sea-config sea-config.json
cp $(command -v node) ucrtool-server
Expand Down
3 changes: 2 additions & 1 deletion server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"ws": "^8.18.0"
},
"devDependencies": {
"esbuild": "^0.24.0"
"esbuild": "^0.24.0",
"postject": "^1.0.0-alpha.6"
}
}

0 comments on commit 6da1260

Please sign in to comment.