1 files changed, 2 insertions, 20 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index b189f3bc..a8cf2e14 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -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
|