Switch to "pnpm" from "yarn"
This commit is contained in:
8
.github/workflows/build_pull_request.yml
vendored
8
.github/workflows/build_pull_request.yml
vendored
@@ -14,13 +14,13 @@ jobs:
|
||||
node-version-file: 'package.json'
|
||||
|
||||
- name: Install modules
|
||||
run: yarn ci
|
||||
run: pnpm ci
|
||||
|
||||
- name: Run ESLint
|
||||
run: yarn lint
|
||||
run: pnpm lint
|
||||
|
||||
- name: Run TSC
|
||||
run: yarn tsc
|
||||
run: pnpm tsc
|
||||
|
||||
- name: Build app
|
||||
run: yarn build
|
||||
run: pnpm build
|
||||
|
||||
10
.github/workflows/build_push_master.yml
vendored
10
.github/workflows/build_push_master.yml
vendored
@@ -34,15 +34,15 @@ jobs:
|
||||
with:
|
||||
path: |
|
||||
**/node_modules
|
||||
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
|
||||
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
|
||||
|
||||
- name: Build webUI
|
||||
run: |
|
||||
cd master
|
||||
yarn ci
|
||||
yarn build
|
||||
yarn build-zip
|
||||
yarn build-md5
|
||||
pnpm ci
|
||||
pnpm build
|
||||
pnpm build-zip
|
||||
pnpm build-md5
|
||||
ls buildZip
|
||||
|
||||
- name: Generate Tag Name
|
||||
|
||||
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
@@ -39,7 +39,7 @@ jobs:
|
||||
with:
|
||||
path: |
|
||||
**/node_modules
|
||||
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
|
||||
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
|
||||
|
||||
- name: Generate Tag Name
|
||||
id: GenTagName
|
||||
@@ -49,10 +49,10 @@ jobs:
|
||||
|
||||
- name: Build webUI
|
||||
run: |
|
||||
yarn ci
|
||||
yarn build
|
||||
yarn build-zip
|
||||
yarn build-md5
|
||||
pnpm ci
|
||||
pnpm build
|
||||
pnpm build-zip
|
||||
pnpm build-md5
|
||||
|
||||
- name: Rename artifact
|
||||
run: |
|
||||
|
||||
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