Skip to content

Commit

Permalink
.env file creating added
Browse files Browse the repository at this point in the history
  • Loading branch information
iamnovichek committed Oct 27, 2024
1 parent 195c07a commit 28f2d23
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/frontend_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions frontend/Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 28f2d23

Please sign in to comment.