funneling and power creep task fixes #1568
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continues Delivery | |
on: | |
push: | |
pull_request: | |
jobs: | |
PerformanceTest: | |
timeout-minutes: 43200 | |
runs-on: self-hosted | |
steps: | |
- name: 'Cleanup build folder' | |
run: | | |
ls -la ./ | |
rm -rf ./* || true | |
rm -rf ./.??* || true | |
ls -la ./ | |
- uses: actions/checkout@v3 | |
- name: Use Node.js 16.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16.x | |
cache: 'npm' | |
- name: Get IP | |
run: hostname -I | |
- name: Install dependencies | |
run: npm install | |
- name: Setup required files | |
run: node helper/preBuild.js | |
- name: Build bot | |
run: npm run build | |
- name: Start instances | |
run: node helper/server --maxTicks=25000 --debug --tickDuration=10 | |
env: | |
STEAM_API_KEY: ${{ secrets.STEAM_API_KEY }} | |
EXPORT_DISCORD_WEBHOOK_URL: ${{ secrets.EXPORT_DISCORD_WEBHOOK_URL }} | |
EXPORT_PASTEBIN_KEY: ${{ secrets.EXPORT_PASTEBIN_KEY }} | |
ACTIONS_RUNNER_NAME: ${{ runner.name }} |