Fix some typos and links #69
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: Tests | |
| on: | |
| push: | |
| branches: ['main', 'develop', 'migrate-react-router'] | |
| workflow_dispatch: | |
| workflow_call: | |
| pull_request: | |
| jobs: | |
| test: | |
| name: ✅ Run tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: lts/* | |
| - name: 📥 Install dependencies | |
| run: npm ci | |
| - name: 🧹 Lint | |
| run: npm run lint | |
| - name: 🔍 Run type check | |
| run: npm run typecheck | |
| - name: ✅ Run Playwright tests | |
| run: npm test | |
| - name: 📦 Build | |
| run: npm run build | |
| # - uses: actions/upload-artifact@v4 | |
| # if: ${{ !cancelled() }} | |
| # with: | |
| # name: playwright-report | |
| # path: playwright-report/ | |
| # retention-days: 10 | |
| docker: | |
| name: 🐳 Build Docker | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Build Docker image | |
| run: docker build . -t bgee-web:$(date +%s) |