fix: update npm calls to handle workspaces (#44370)

* fix: use workspaces for crowdin npm ci

* fix: update server.Dockerfile to use workspaces

* fix: update client.Dockerfile to use workspaces
This commit is contained in:
Oliver Eyton-Williams
2021-12-03 15:36:08 +01:00
committed by GitHub
parent e262301ac8
commit 9c078ab5d2
6 changed files with 10 additions and 24 deletions

View File

@@ -17,10 +17,7 @@ jobs:
token: ${{ secrets.CROWDIN_CAMPERBOT_PAT }}
- name: Install Dependencies
working-directory: ./tools
run: |
cd ./crowdin
npm ci
run: npm ci -w=tools/crowdin --ignore-scripts
##### Download Chinese #####
- name: Crowdin Download Chinese Translations

View File

@@ -17,10 +17,7 @@ jobs:
token: ${{ secrets.CROWDIN_CAMPERBOT_PAT }}
- name: Install Dependencies
working-directory: ./tools
run: |
cd ./crowdin
npm ci
run: npm ci -w=tools/crowdin --ignore-scripts
##### Download Chinese #####
- name: Crowdin Download Chinese Translations

View File

@@ -15,10 +15,7 @@ jobs:
uses: actions/checkout@v2
- name: Install Dependencies
working-directory: ./tools
run: |
cd ./crowdin
npm ci
run: npm ci -w=tools/crowdin --ignore-scripts
- name: Crowdin Upload
uses: crowdin/github-action@master

View File

@@ -17,10 +17,7 @@ jobs:
token: ${{ secrets.CROWDIN_CAMPERBOT_PAT }}
- name: Install Dependencies
working-directory: ./tools
run: |
cd ./crowdin
npm ci
run: npm ci -w=tools/crowdin --ignore-scripts
##### Download Chinese #####
- name: Crowdin Download Chinese Translations