Skip to content

Commit

Permalink
move the instrument nyc to try get better coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
ikethecoder committed May 24, 2024
1 parent 018f7ed commit 4431107
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions local/portal/Dockerfile.E2E
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ RUN npm install --legacy-peer-deps

COPY --chown=node src ./

RUN npx nyc instrument --compact=false . --in-place

ARG GITHUB_API_TOKEN
ENV COOKIE_SECRET=change_me
ENV TEST_COVERAGE=on

RUN npm run build

RUN npx nyc instrument --compact=false dist --in-place

ENV HOME=/home/node

ENTRYPOINT [ "npm", "run" ]
Expand Down

0 comments on commit 4431107

Please sign in to comment.