Skip to content

Commit

Permalink
ci: use pnpm instead of yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
valcosmos committed Sep 29, 2024
1 parent 2957e5b commit 21db36a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,18 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: yarn
cache: pnpm
- id: configurepages
uses: actions/configure-pages@v5
- name: Restore cache
uses: actions/cache@v4
with:
path: .next/cache
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
restore-keys: |
${{ runner.os }}-nextjs-${{ hashFiles('**/yarn.lock') }}-
- run: yarn
- run: yarn build
${{ runner.os }}-nextjs-${{ hashFiles('**/pnpm-lock.yaml') }}-
- run: pnpm
- run: pnpm build
env:
EXPORT: 1
UNOPTIMIZED: 1
Expand Down

0 comments on commit 21db36a

Please sign in to comment.