Bump formidable from 3.5.2 to 3.5.4 #111
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] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout latest code | |
| uses: actions/checkout@v4 | |
| - name: Setup Node ENV | |
| uses: actions/setup-node@v4 | |
| - name: Build Docker instance | |
| run: npm run setup-db | |
| - name: Get Docker IP | |
| id: docker-ip | |
| run: echo IP=$(docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $(docker ps -aqf 'name=psql')) >> "$GITHUB_OUTPUT" | |
| - name: Install Packages | |
| run: npm ci | |
| - name: Run Tests | |
| run: npm test | |
| env: | |
| DATABASE_URL: 'postgresql://root:root@${{ steps.docker-ip.outputs.IP }}:5432/clowder' |