Fix the client error reporter crashing when the error event has no Error object #9101
Workflow file for this run
This file contains hidden or 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: Production Environment (checks if server starts) | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build: | |
| name: Production Environment | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v2 | |
| - name: Install Node.js 18.x | |
| uses: actions/setup-node@v1 | |
| with: | |
| node-version: 18.x | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Start virtualtabletop server with production settings | |
| run: | | |
| cp config.template.json config.json | |
| sed -i 's/minifyJavascript": false/minifyJavascript": true/' config.json | |
| npm start & | |
| sleep 15 | |
| curl -I http://localhost:8272 |