Bump @orca-so/whirlpools-client from 6.0.0 to 6.2.0 in the swapper-deps group #254
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: Docker Build | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| docker: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v3 | |
| - name: Build | |
| uses: docker/build-push-action@v5 | |
| with: | |
| context: . | |
| push: false | |
| load: true | |
| tags: core-ts:test | |
| build-args: | | |
| GIT_COMMIT=${{ github.event.pull_request.head.sha || github.sha }} | |
| cache-from: type=gha | |
| cache-to: type=gha,mode=max | |
| - name: Run and Test | |
| run: | | |
| docker run -d --rm --name test-container -p 3000:3000 core-ts:test | |
| echo "Waiting for container to start..." | |
| sleep 4 # Adjust sleep time if needed | |
| echo "Testing container endpoint..." | |
| curl --fail http://localhost:3000 | |
| echo "Stopping container..." | |
| docker stop test-container |