diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 8875dbd48..a5e4dba95 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -73,8 +73,8 @@ jobs: - run: npm ci - run: npm run build -w packages/notification - run: npm pack - - run: npm run pkg -- -t node18-linux-x64 - name: Pack the binary using vercel/pkg + - run: make dist/monika + name: Pack the binary - run: ./dist/monika -v name: Test to make sure printing the version succeeds - name: Cancel workflow on failure diff --git a/Makefile b/Makefile index 48b926827..36b04b7f3 100644 --- a/Makefile +++ b/Makefile @@ -46,7 +46,6 @@ else npx postject $@ NODE_SEA_BLOB dist/sea-prep.blob \ --sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2 endif - ./dist/monika -v # Create a bundled version of the app, so that we can build an executable out # of it. @@ -57,7 +56,7 @@ dist/bundle.js: $(JS_FILES) --platform=node \ --bundle \ --outfile=$@ \ - ./bin/run.js + ./lib/index.js clean-dist: # rm dist/*