From 5a2091f7bf15582f638be72655b1ea2c3d1dd097 Mon Sep 17 00:00:00 2001 From: Hao Liu <44379968+TheRealHaoLiu@users.noreply.github.com> Date: Tue, 16 Jul 2024 13:18:47 -0400 Subject: Build new/old UI with different nodejs version (#15368) --- .github/workflows/devel_images.yml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to '.github') 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' -- cgit v1.2.3