mirror of
https://github.com/apricote/Listory.git
synced 2026-01-13 13:11:02 +00:00
fix(ci): ignore failing peer resolution
Some 3rd party nest packages depend on Nest 7 while we use 8. In practice this still works, but the usual dependency resolution fails and requires an explicit override. This should also unblock auto-merging for renovate, as that currently fails in CI on the `npm ci` step.
This commit is contained in:
parent
ee5bd41a37
commit
5409b98da1
2 changed files with 4 additions and 4 deletions
4
.github/workflows/ci.yaml
vendored
4
.github/workflows/ci.yaml
vendored
|
|
@ -22,7 +22,7 @@ jobs:
|
|||
with:
|
||||
node-version: 16
|
||||
|
||||
- run: npm ci
|
||||
- run: npm ci --legacy-peer-deps
|
||||
- run: npm run build
|
||||
- run: npm run lint:api
|
||||
- run: npm run test:cov
|
||||
|
|
@ -51,7 +51,7 @@ jobs:
|
|||
with:
|
||||
node-version: 16
|
||||
|
||||
- run: npm ci
|
||||
- run: npm ci --legacy-peer-deps
|
||||
|
||||
- run: npm ci
|
||||
working-directory: frontend
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ COPY frontend/*.json /app/frontend/
|
|||
FROM common as build-api
|
||||
LABEL stage="build-api"
|
||||
|
||||
RUN npm ci
|
||||
RUN npm ci --legacy-peer-deps
|
||||
|
||||
COPY src/ /app/src/
|
||||
RUN NODE_ENV=production npm run build
|
||||
|
|
@ -52,7 +52,7 @@ RUN NODE_ENV=production npm run build
|
|||
FROM common as app
|
||||
LABEL stage="app"
|
||||
|
||||
RUN npm ci --only=production
|
||||
RUN npm ci --omit=dev --legacy-peer-deps
|
||||
COPY --from=build-api /app/dist/ /app/dist/
|
||||
COPY --from=build-frontend /app/frontend/build /app/static/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue