Add better handling of not found errors #711
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: CI | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| concurrency: | |
| group: ${{github.workflow}}-${{github.event.pull_request.number || github.ref}} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| edition: | |
| - CE | |
| - EE | |
| mode: | |
| - singleplayer | |
| - multiplayer | |
| env: | |
| VITE_KEYGEN_EDITION: ${{matrix.edition}} | |
| VITE_KEYGEN_MODE: ${{matrix.mode}} | |
| VITE_KEYGEN_HOST: api.keygen.test | |
| VITE_KEYGEN_VERSION: "1.8" | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10 | |
| - name: Setup | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: pnpm | |
| - name: Install | |
| run: pnpm install --frozen-lockfile | |
| - name: Generate | |
| run: pnpm generate:routes | |
| - name: Lint | |
| run: pnpm lint:check | |
| - name: Format | |
| run: pnpm format:check | |
| - name: Build | |
| run: pnpm build | |
| - name: Test | |
| run: pnpm test |