Skip to content

Commit

Permalink
Set up pnpm before using its cache
Browse files Browse the repository at this point in the history
  • Loading branch information
illright committed Dec 3, 2023
1 parent 3939722 commit 0a15699
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,19 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Set up pnpm
uses: pnpm/action-setup@v2
with:
version: 8

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: pnpm

- name: Set up pnpm
uses: pnpm/action-setup@v2
with:
version: 8
run_install: true
- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Get/set Prettier and ESLint cache
uses: actions/cache@v3
Expand Down

0 comments on commit 0a15699

Please sign in to comment.