diff --git a/.github/workflows/frontend_tests.yml b/.github/workflows/frontend_tests.yml index 6b645ffa..d1013bb4 100644 --- a/.github/workflows/frontend_tests.yml +++ b/.github/workflows/frontend_tests.yml @@ -15,6 +15,10 @@ jobs: with: node-version: '20' + - name: Create .env file + run: cp .env.dev .env + working-directory: frontend + - name: Install dependencies run: yarn install working-directory: frontend diff --git a/frontend/Dockerfile.dev b/frontend/Dockerfile.dev index 5370a035..5a7c452f 100644 --- a/frontend/Dockerfile.dev +++ b/frontend/Dockerfile.dev @@ -6,6 +6,8 @@ FROM node:20-alpine AS build WORKDIR /app COPY . /app +COPY .env.dev .env + RUN yarn RUN yarn test RUN yarn build