fix(ci): install yarn via npm before frontend build (catthehacker image lacks yarn)
All checks were successful
Docker Cloud Build / Build & Publish Image (push) Successful in 11m55s
All checks were successful
Docker Cloud Build / Build & Publish Image (push) Successful in 11m55s
This commit is contained in:
parent
91fe419821
commit
9929d77326
1 changed files with 1 additions and 0 deletions
1
.github/workflows/docker-publish.yml
vendored
1
.github/workflows/docker-publish.yml
vendored
|
|
@ -57,6 +57,7 @@ jobs:
|
||||||
echo "RAM: ${total_ram_mb}MB — setting Node.js max to ${node_mem}MB"
|
echo "RAM: ${total_ram_mb}MB — setting Node.js max to ${node_mem}MB"
|
||||||
export NODE_OPTIONS="--max-old-space-size=${node_mem}"
|
export NODE_OPTIONS="--max-old-space-size=${node_mem}"
|
||||||
cd frontend
|
cd frontend
|
||||||
|
npm install -g yarn
|
||||||
yarn install --frozen-lockfile
|
yarn install --frozen-lockfile
|
||||||
yarn locale-compile
|
yarn locale-compile
|
||||||
yarn build
|
yarn build
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue