Bump the prod-patch-updates group across 1 directory with 3 updates #12
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: Run Tests | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| - dev | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-node@v5 | |
| with: | |
| node-version: '22' | |
| - name: Copy config file | |
| run: cp config/config.example.yml config/config.yml | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Test with tsc | |
| run: npx tsc --noEmit | |
| - name: Start app in background | |
| run: nohup npm run dev & | |
| - name: Wait for app availability | |
| run: | | |
| for i in {1..5}; do | |
| if curl --silent --fail http://localhost:3001/api/v1/traefik-config; then | |
| echo "App is up" | |
| exit 0 | |
| fi | |
| echo "Waiting for the app... attempt $i" | |
| sleep 5 | |
| done | |
| echo "App failed to start" | |
| exit 1 | |
| - name: Build Docker image sqlite | |
| run: make build |