mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-30 03:13:10 +02:00
Use rollup node resolve
This commit is contained in:
parent
60bc2b4269
commit
feb1bcf46b
1 changed files with 2 additions and 1 deletions
3
.github/workflows/package.yml
vendored
3
.github/workflows/package.yml
vendored
|
@ -61,10 +61,11 @@ jobs:
|
|||
pnpm install
|
||||
npm install -g pkg
|
||||
npm install -g rollup
|
||||
npm install -g @rollup/plugin-node-resolve
|
||||
pnpm run build
|
||||
cd packages/backend
|
||||
mkdir dist
|
||||
rollup ./built/boot/entry.js --file ./dist/bundle.js --format cjs
|
||||
rollup ./built/boot/entry.js --file ./dist/bundle.js --format cjs -p @rollup/plugin-node-resolve
|
||||
pkg --debug --public ./dist/bundle.js --targets latest-linuxstatic-x64,latest-linuxstatic-arm64,latest-macos-x64,latest-macos-arm64,latest-win-x64
|
||||
ls
|
||||
- name: Upload linux x64
|
||||
|
|
Loading…
Reference in a new issue