|
|
@ -1447,6 +1447,16 @@ jobs: |
|
|
|
timeout-minutes: 30 |
|
|
|
timeout-minutes: 30 |
|
|
|
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} |
|
|
|
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} |
|
|
|
steps: |
|
|
|
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 |
|
|
|
- name: Setup Node |
|
|
|
uses: actions/setup-node@v3 |
|
|
|
uses: actions/setup-node@v3 |
|
|
|
with: |
|
|
|
with: |
|
|
|