Frontend feature: add game detail page with contract event timeline #649
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: Test Backend API | |
| on: | |
| push: | |
| branches: [main, develop] | |
| pull_request: | |
| branches: [main, develop] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 18 | |
| cache: "npm" | |
| cache-dependency-path: backend/package.json | |
| - name: Install Dependencies | |
| run: cd backend && npm install | |
| - name: Run Linter | |
| run: cd backend && npm run lint | |
| - name: Validate OpenAPI Spec | |
| run: cd backend && npm run openapi:validate | |
| - name: Run Tests | |
| run: cd backend && npm test |