Skip to content

variable optimizations #1573

variable optimizations

variable optimizations #1573

Workflow file for this run

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 }}