Skip to content
This repository has been archived by the owner on May 10, 2023. It is now read-only.

Commit

Permalink
chore: use yarn for CV parts of export
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelKohler committed Mar 27, 2022
1 parent cfbac0c commit a040b74
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/export.yaml
Expand Up @@ -30,9 +30,10 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v2.1.2
with:
cache: yarn
node-version: 14
- name: Install CV dependencies (npm is good enough)
run: cd cv && NODE_ENV=development npm install && rm package-lock.json
- name: Install CV dependencies
run: cd cv && NODE_ENV=development yarn
- name: Install SC dependencies
run: npm ci
- name: Set Git Author
Expand All @@ -43,7 +44,7 @@ jobs:
- name: Run Export
run: env API_BASE_URL=${{secrets.SC_EXPORT_BASE_URL}} COMMON_VOICE_PATH=cv/ node scripts/exporter.js
- name: Run CV Update Locales Script
run: cd cv && npm run import-locales
run: cd cv && yarn run import-locales
- name: CV Changes
run: cd cv && git diff --numstat
- name: Format Changes
Expand All @@ -60,4 +61,3 @@ jobs:

- name: Push to CV
run: cd cv && git push origin ${{secrets.COMMON_VOICE_BRANCH}}

0 comments on commit a040b74

Please sign in to comment.