💚(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 uses: actions/setup-node@v4
with: with:
node-version: "18.x" node-version: "18.x"
cache: "yarn" cache: "npm"
cache-dependency-path: src/frontend/yarn.lock cache-dependency-path: src/frontend/package-lock.json
- name: Install dependencies - name: Install dependencies
run: cd src/frontend/ && yarn install --frozen-lockfile run: cd src/frontend/ && npm ci
- name: Extract the frontend translation - name: Extract the frontend translation
run: make frontend-i18n-extract run: make frontend-i18n-extract