Skip to content

Commit

Permalink
fix: i can't handle CI anymore 😭
Browse files Browse the repository at this point in the history
  • Loading branch information
zoedsoupe committed Sep 9, 2024
1 parent dafdb7b commit 5250837
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ deps:
SAVE ARTIFACT /src/deps AS LOCAL deps

ci:
FROM +deps
FROM +deps --MIX_ENV=dev
COPY .credo.exs .
COPY .formatter.exs .
RUN mix clean
Expand All @@ -28,7 +28,7 @@ ci:
RUN mix credo --strict

test:
FROM +deps
FROM +deps --MIX_ENV=test
RUN apk add postgresql-client
COPY --dir config ./
RUN MIX_ENV=test mix deps.compile
Expand All @@ -48,7 +48,7 @@ docker-prod:
SAVE IMAGE --push ghcr.io/$GITHUB_REPO:prod

docker-dev:
FROM +deps
FROM +deps --MIX_ENV=dev
RUN apk update --no-cache
RUN apk add --no-cache inotify-tools nodejs npm
ENV MIX_ENV=dev
Expand Down

0 comments on commit 5250837

Please sign in to comment.