1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-09 20:22:47 +01:00

🐛 fix executable

This commit is contained in:
Flam3rboy 2021-10-17 02:06:39 +02:00
parent 78778c8eee
commit 197a2641f9

View File

@ -34,26 +34,8 @@ jobs:
with:
node-version: 14
- run: |
npm config set ignore-scripts true
cd util
npm i
npm run build
npm pack
cd ../api
npm i ../util/
npm run build
npm pack
cd ../cdn
npm i ../util/
npm run build
npm pack
cd ../gateway
npm i ../util/
npm run build
npm pack
cd ../bundle
npm i ../cdn/fosscord-cdn-1.0.0.tgz ../gateway/fosscord-gateway-1.0.0.tgz ../api/fosscord-api-1.0.0.tgz ../util/fosscord-util-1.0.0.tgz caxa
npm run build:bundle
cd bundle
npm run setup
npx caxa -i . -m 'This_may_take_a_while_to_run_the_first_time_please_wait...' --output '${{matrix.file}}' -- '{{caxa}}/node_modules/.bin/node' '{{caxa}}/dist/start.js'
${{ matrix.package }}
- uses: actions/upload-artifact@v2