mirror of
https://github.com/ansible/awx.git
synced 2026-02-02 10:08:10 -03:30
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:
4
.github/workflows/stage.yml
vendored
4
.github/workflows/stage.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user