Skip to content

Commit

Permalink
chore: removes legacy peer deps
Browse files Browse the repository at this point in the history
  • Loading branch information
marabesi committed Nov 26, 2024
1 parent 34f95c7 commit d39f849
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/delivery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
cache: 'npm'

- name: install
run: npm install --legacy-peer-deps
run: npm install

- name: lint
run: npm run lint
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
cache: 'npm'

- name: Install
run: npm install --legacy-peer-deps
run: npm install

- name: Build 🔧
env:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
2 changes: 1 addition & 1 deletion before-push.sh
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit d39f849

Please sign in to comment.