switch to pnpm

Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
2026-06-22 15:24:00 +02:00
co-authored by Mistral Vibe
parent a44f71f056
commit 5a86625f3f
9 changed files with 7860 additions and 8492 deletions
+4 -4
View File
@@ -16,16 +16,16 @@ jobs:
uses: actions/setup-node@v6
with:
node-version: 22
cache: 'npm'
cache: 'pnpm'
- name: Install dependencies
run: npm ci
run: pnpm install --frozen-lockfile
- name: Build Firefox (mv2)
run: npm run build:firefox
run: pnpm run build:firefox
- name: Build Chrome (mv3)
run: npm run build
run: pnpm run build
- name: Upload Firefox (mv2)
uses: actions/upload-artifact@v5
+3 -3
View File
@@ -19,10 +19,10 @@ jobs:
uses: actions/setup-node@v6
with:
node-version: 22
cache: 'npm'
cache: 'pnpm'
- name: Install dependencies
run: npm ci
run: pnpm install --frozen-lockfile
- name: Lint
run: npm run lint
run: pnpm run lint
+5 -5
View File
@@ -25,15 +25,15 @@ jobs:
uses: actions/setup-node@v6
with:
node-version: 22
cache: 'npm'
cache: 'pnpm'
- name: Install dependencies
run: npm ci
run: pnpm install --frozen-lockfile
- name: Zip extensions
run: |
npm run zip:firefox
npm run zip
pnpm run zip:firefox
pnpm run zip
- name: Resolve zip extension paths
id: paths
@@ -80,6 +80,6 @@ jobs:
CHROME_CLIENT_SECRET: ${{ secrets.CHROME_CLIENT_SECRET }}
CHROME_REFRESH_TOKEN: ${{ secrets.CHROME_REFRESH_TOKEN }}
run: |
npx wxt submit \
pnpm exec wxt submit \
--firefox-zip .output/*-mv2.zip --firefox-sources-zip .output/*-sources.zip \
--chrome-zip .output/*-mv3.zip