Switch to "pnpm" from "yarn"
This commit is contained in:
8
.github/workflows/update_i18n_languages.yml
vendored
8
.github/workflows/update_i18n_languages.yml
vendored
@@ -36,19 +36,19 @@ jobs:
|
||||
with:
|
||||
path: |
|
||||
**/node_modules
|
||||
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
|
||||
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
cd master
|
||||
yarn ci
|
||||
pnpm ci
|
||||
|
||||
- name: Update i18n resources
|
||||
run: |
|
||||
cd master
|
||||
echo "WEBLATE_TOKEN=${{ secrets.MY_SECRET }}" > .env
|
||||
yarn i18n:gen-resources
|
||||
yarn manga:gen-type-tags
|
||||
pnpm i18n:gen-resources
|
||||
pnpm manga:gen-type-tags
|
||||
|
||||
- name: Push changes
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user