Switch to "pnpm" from "yarn"

This commit is contained in:
schroda
2026-05-15 15:11:47 +02:00
parent 7a5b5624e7
commit c19f7164e0
15 changed files with 11107 additions and 10186 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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: |

View File

@@ -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: |