This commit is contained in:
abdulmohsen
2024-05-01 18:32:18 +03:00
parent 3c1f50f3a7
commit 69b7395fb9
3 changed files with 3 additions and 1 deletions

View File

@@ -5,3 +5,4 @@
!./var/.gitignore
.phpunit.result.cache
frontend/.nuxt
frontend/node_modules

View File

@@ -83,6 +83,7 @@ jobs:
- uses: bahmutov/npm-install@v1
with:
working-directory: frontend
install-command: yarn install --production --prefer-offline --frozen-lockfile && yarn run generate
- name: Update Version File
uses: arabcoders/write-version-to-file@master

View File

@@ -2,7 +2,7 @@ FROM node:lts-alpine as npm_builder
WORKDIR /frontend
COPY ./frontend ./
RUN yarn install --production --prefer-offline --frozen-lockfile && yarn run generate
RUN if [ ! -d /frontend/exported ]; then yarn install --production --prefer-offline --frozen-lockfile && yarn run generate; fi
FROM alpine:edge