Bump react-router from 6.27.0 to 7.0.1 #64
Workflow file for this run
This file contains 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 Test | |
on: | |
pull_request: | |
paths: | |
- "**.js" | |
- "**.jsx" | |
- "**.ts" | |
- "**.tsx" | |
- "package.json" | |
- "package-lock.json" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build React App | |
run: | | |
npm ci --legacy-peer-deps | |
CI=false | |
REACT_APP_BACKEND_SERVER="https://api.labconnect.cs.rpi.edu" | |
npm run build | |
- name: "Build Docker Image" | |
run: | | |
docker build -t labconnect-frontend . | |
- name: "Run Docker Container" | |
run: | | |
docker run -d --name labconnect-frontend-container labconnect-frontend | |
sleep 60 | |
docker logs labconnect-frontend-container | |
docker stop labconnect-frontend-container | |
docker rm labconnect-frontend-container |