diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3313d76..1bb7f27 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,7 +53,7 @@ jobs: - name: install if: steps.cache.outputs.cache-hit != 'true' - run: npm install --legacy-peer-deps + run: npm install test: runs-on: ubuntu-latest @@ -151,7 +151,7 @@ jobs: start: npm run start-instrumented browser: chrome headed: true - install-command: npm install --legacy-peer-deps + install-command: npm install - name: Generate lcov run: npx nyc report --reporter=lcov - uses: actions/upload-artifact@v3 diff --git a/.github/workflows/delivery.yml b/.github/workflows/delivery.yml index a753525..9a889d8 100644 --- a/.github/workflows/delivery.yml +++ b/.github/workflows/delivery.yml @@ -26,7 +26,7 @@ jobs: cache: 'npm' - name: install - run: npm install --legacy-peer-deps + run: npm install - name: lint run: npm run lint diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 48a14dd..88c3801 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -28,7 +28,7 @@ jobs: cache: 'npm' - name: Install - run: npm install --legacy-peer-deps + run: npm install - name: Build 🔧 env: diff --git a/Dockerfile b/Dockerfile index 55e25ef..ab30f9d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,5 +3,5 @@ WORKDIR /app COPY package.json ./ COPY package-lock.json ./ COPY ./ ./ -RUN npm i --legacy-peer-deps +RUN npm i CMD ["npm", "run", "start"] diff --git a/before-push.sh b/before-push.sh index 80db839..3adda41 100755 --- a/before-push.sh +++ b/before-push.sh @@ -1,7 +1,7 @@ #!/bin/bash docker compose run --rm json-tool rm -rf node_modules/ coverage/ build/ .nyc_output -docker compose run --rm json-tool npm i --legacy-peer-deps +docker compose run --rm json-tool npm i docker compose run --rm json-tool npm run build docker compose run --service-ports --rm -d json-tool npm run start echo "Sleeping 10 seconds for the application to start"