Add npm cache path to fix UI building (push images job) (#16097)

* Add npm cache path to fix UI building

* skip version switch
This commit is contained in:
Alan Rominger
2025-09-23 09:16:41 -04:00
committed by GitHub
parent d0a99c37c1
commit f1edbd8ef5
2 changed files with 11 additions and 2 deletions

View File

@@ -85,9 +85,11 @@ jobs:
cp ../awx-logos/awx/ui/client/assets/* awx/ui/public/static/media/
- name: Setup node and npm for new UI build
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'npm'
cache-dependency-path: awx/awx/ui/**/package-lock.json
- name: Prebuild new UI for awx image (to speed up build process)
working-directory: awx