💚(CI) fix crowdin steps

Updated CI to use "npm" instead of yarn for the frontend project based
on @manuhabitela's recommendations. Also updated the dependencies-related CI
steps that were previously missed.
This commit is contained in:
antoine lebaud
2024-07-03 18:20:17 +02:00
committed by Emmanuel Pelletier
parent 7510d0fc2b
commit 44e5cd6ef3

View File

@@ -208,11 +208,11 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: "18.x"
cache: "yarn"
cache-dependency-path: src/frontend/yarn.lock
cache: "npm"
cache-dependency-path: src/frontend/package-lock.json
- name: Install dependencies
run: cd src/frontend/ && yarn install --frozen-lockfile
run: cd src/frontend/ && npm ci
- name: Extract the frontend translation
run: make frontend-i18n-extract