chore: change yarn to pnpm

This commit is contained in:
Igor Klepacki 2025-01-23 09:20:58 +01:00
parent a8a3653106
commit fd19e69a69
7 changed files with 19203 additions and 15560 deletions

View file

@ -29,8 +29,15 @@ jobs:
with:
node-version: "20.x"
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: "Install pnpm & dependencies"
uses: pnpm/action-setup@v4
with:
run_install: |
- recursive: true
- args: [--frozen-lockfile]
# - name: Install dependencies
# run: pnpm install --frozen-lockfile
- name: Restore next build
uses: actions/cache@v3
@ -46,7 +53,7 @@ jobs:
env:
SKIP_BUILD_PRODUCT_REDIRECTS: 1
# change this if your site requires a custom build command
run: yarn build
run: pnpm build
# Here's the first place where next-bundle-analysis' own script is used
# This step pulls the raw bundle stats for the current bundle