Skip to content

Commit 60bb9b5

Browse files
committed
chore: Update pnpm and actions
1 parent 68e608f commit 60bb9b5

File tree

2 files changed

+3603
-3178
lines changed

2 files changed

+3603
-3178
lines changed

.github/workflows/ci.yml

+6-18
Original file line numberDiff line numberDiff line change
@@ -17,29 +17,17 @@ jobs:
1717
with:
1818
fetch-depth: 0
1919

20-
- name: Setup Node
21-
uses: actions/setup-node@v1
22-
with:
23-
node-version: 18
24-
2520
- name: Setup pnpm
26-
uses: pnpm/action-setup@v2.2.4
21+
uses: pnpm/action-setup@v3
2722
with:
28-
version: 8
23+
version: 9
2924
run_install: false
3025

31-
- name: Get pnpm store directory
32-
id: pnpm-store
33-
run: echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
34-
35-
- name: Use pnpm store
36-
uses: actions/cache@v3
37-
id: pnpm-cache
26+
- name: Setup Node
27+
uses: actions/setup-node@v1
3828
with:
39-
path: ${{ steps.pnpm-store.outputs.pnpm_cache_dir }}
40-
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
41-
restore-keys: |
42-
${{ runner.os }}-pnpm-
29+
node-version: 22
30+
cache: 'pnpm'
4331

4432
- name: Install Dependencies
4533
run: pnpm install --frozen-lockfile --prefer-offline

0 commit comments

Comments
 (0)