Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DharshiniComputas committed May 24, 2024
1 parent 0e4af9b commit e48a965
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ jobs:
uses: actions/checkout@v4

# legg til steg her:
- name: Install dependencies
- run: yarn install

- name: Run tests
- run: yarn test

build:
name: 'Build Docker image and push to registry'
Expand Down
2 changes: 1 addition & 1 deletion frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ WORKDIR /app
RUN apk update && \
apk add yarn

COPY yarn.lock index.html ./
COPY yarn.lock index.html package.json ./

RUN yarn install --frozen-lockfile

Expand Down

0 comments on commit e48a965

Please sign in to comment.