summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHao Liu <44379968+TheRealHaoLiu@users.noreply.github.com>2024-07-16 19:18:47 +0200
committerGitHub <noreply@github.com>2024-07-16 19:18:47 +0200
commit5a2091f7bf15582f638be72655b1ea2c3d1dd097 (patch)
treef729d4aeb5df556d2bf373c06b4fe44e1e611d07
parentFix minor docker build warning (#15362) (diff)
downloadawx-5a2091f7bf15582f638be72655b1ea2c3d1dd097.tar.xz
awx-5a2091f7bf15582f638be72655b1ea2c3d1dd097.zip
Build new/old UI with different nodejs version (#15368)
-rw-r--r--.github/workflows/devel_images.yml16
1 files changed, 13 insertions, 3 deletions
diff --git a/.github/workflows/devel_images.yml b/.github/workflows/devel_images.yml
index 3a9c857523..6cc847506e 100644
--- a/.github/workflows/devel_images.yml
+++ b/.github/workflows/devel_images.yml
@@ -60,16 +60,26 @@ jobs:
run: |
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
- - name: Setup node and npm
+ - name: Setup node and npm for old UI build
uses: actions/setup-node@v2
with:
- node-version: '16.13.1'
+ node-version: '16'
if: matrix.build-targets.image-name == 'awx'
- - name: Prebuild UI for awx image (to speed up build process)
+ - name: Prebuild old-UI for awx image (to speed up build process)
run: |
sudo apt-get install gettext
make ui-release
+ if: matrix.build-targets.image-name == 'awx'
+
+ - name: Setup node and npm for the new UI build
+ uses: actions/setup-node@v2
+ with:
+ node-version: '18'
+ if: matrix.build-targets.image-name == 'awx'
+
+ - name: Prebuild new UI for awx image (to speed up build process)
+ run: |
make ui-next
if: matrix.build-targets.image-name == 'awx'