Browse Source

feat(testing): Added prod build of front end

pull/3848/head
Muhammed Mustafa 2 years ago
parent
commit
d784c1d2b0
  1. 10
      .github/workflows/ci-cd.yml

10
.github/workflows/ci-cd.yml

@ -1447,6 +1447,16 @@ jobs:
timeout-minutes: 30
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }}
steps:
- name: Set Swap
shell: bash
run: |
export SWAP_FILE=$(swapon --show=NAME | tail -n 1)
sudo swapoff $SWAP_FILE
sudo rm $SWAP_FILE
sudo fallocate -l 5G $SWAP_FILE
sudo chmod 600 $SWAP_FILE
sudo mkswap $SWAP_FILE
sudo swapon $SWAP_FILE
- name: Setup Node
uses: actions/setup-node@v3
with:

Loading…
Cancel
Save