summary refs log tree commit diff
path: root/.github
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-17 02:06:39 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-17 02:06:39 +0200
commit9d4f7cd01be5ba3934e31968d0c8fb4b2aca84ca (patch)
tree99d832591fb55d48d4e225c76fca453ec85ecf8d /.github
parent:bug: fix typing (diff)
downloadserver-9d4f7cd01be5ba3934e31968d0c8fb4b2aca84ca.tar.xz
:bug: fix executable
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/release.yml22
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