summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorHao Liu <44379968+TheRealHaoLiu@users.noreply.github.com>2024-07-18 19:26:07 +0200
committerGitHub <noreply@github.com>2024-07-18 19:26:07 +0200
commit9e5babc0938c470003c7f21a86a6151314cb59f1 (patch)
treecade918c80fc54d2a9a5c80aed447bb025b5546c /.github
parentDisable dab-release GHA on fork unless explicitly triggered (#15382) (diff)
downloadawx-9e5babc0938c470003c7f21a86a6151314cb59f1.tar.xz
awx-9e5babc0938c470003c7f21a86a6151314cb59f1.zip
Fix ui-next build for release staging GHA (#15383)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/stage.yml16
1 files changed, 12 insertions, 4 deletions
diff --git a/.github/workflows/stage.yml b/.github/workflows/stage.yml
index e8604a5a84..a0fe4dea7c 100644
--- a/.github/workflows/stage.yml
+++ b/.github/workflows/stage.yml
@@ -86,17 +86,25 @@ jobs:
run: |
cp ../awx-logos/awx/ui/client/assets/* awx/ui/public/static/media/
- - 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'
- - name: Prebuild UI for awx image (to speed up build process)
+ - name: Prebuild old UI for awx image (to speed up build process)
working-directory: awx
run: |
sudo apt-get install gettext
make ui-release
- make ui-next
+
+ - name: Setup node and npm for new UI build
+ uses: actions/setup-node@v2
+ with:
+ node-version: '18'
+
+ - name: Prebuild new UI for awx image (to speed up build process)
+ working-directory: awx
+ run: make ui-next
- name: Set build env variables
run: |