1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-26 07:55:24 +03:00

Fix ui-next build for release staging GHA (#15383)

This commit is contained in:
Hao Liu 2024-07-18 13:26:07 -04:00 committed by GitHub
parent c71e2524ed
commit 9e5babc093
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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: |