mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 01:17:37 -02:30
Build new/old UI with different nodejs version (#15368)
This commit is contained in:
16
.github/workflows/devel_images.yml
vendored
16
.github/workflows/devel_images.yml
vendored
@@ -60,16 +60,26 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
|
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
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: '16.13.1'
|
node-version: '16'
|
||||||
if: matrix.build-targets.image-name == 'awx'
|
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: |
|
run: |
|
||||||
sudo apt-get install gettext
|
sudo apt-get install gettext
|
||||||
make ui-release
|
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
|
make ui-next
|
||||||
if: matrix.build-targets.image-name == 'awx'
|
if: matrix.build-targets.image-name == 'awx'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user