From d0b60ca77faaafd89b0077fcadb08c09f38f4612 Mon Sep 17 00:00:00 2001 From: Kai Henseler Date: Wed, 24 Jul 2024 15:55:56 +0200 Subject: [PATCH] IONOS(ci/build): adds build step for ionos theme elements Signed-off-by: Kai Henseler --- .github/workflows/easycloud-build.yml | 28 ++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/.github/workflows/easycloud-build.yml b/.github/workflows/easycloud-build.yml index 542e7b3f3d04c..28a807976b442 100644 --- a/.github/workflows/easycloud-build.yml +++ b/.github/workflows/easycloud-build.yml @@ -7,15 +7,15 @@ name: EasyCloud Build on: pull_request: paths: - - '.github/workflows/**' - - 'src/**' - - 'apps/**/appinfo/info.xml' - - 'package.json' - - 'package-lock.json' - - 'tsconfig.json' - - '**.js' - - '**.ts' - - '**.vue' + - ".github/workflows/**" + - "src/**" + - "apps/**/appinfo/info.xml" + - "package.json" + - "package-lock.json" + - "tsconfig.json" + - "**.js" + - "**.ts" + - "**.vue" push: branches: - main @@ -72,6 +72,16 @@ jobs: npm run build cd ../.. + - name: Install dependencies & build IONOS theme custom elements + env: + CYPRESS_INSTALL_BINARY: 0 + PUPPETEER_SKIP_DOWNLOAD: true + run: | + cd themes/nc-ionos-theme/IONOS + npm ci + npm run build + cd ../.. + - name: Add config partials run: | cp IONOS/configs/*.config.php config/