Skip to content

Commit 545e28d

Browse files
committed
chore: Update pnpm and actions
1 parent 68e608f commit 545e28d

File tree

4 files changed

+4030
-3186
lines changed

4 files changed

+4030
-3186
lines changed

.github/workflows/ci.yml

+7-19
Original file line numberDiff line numberDiff line change
@@ -13,33 +13,21 @@ jobs:
1313
timeout-minutes: 10
1414
steps:
1515
- name: Checkout Repo
16-
uses: actions/checkout@v2
16+
uses: actions/checkout@v3
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@v4
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

.github/workflows/release.yml

+6-18
Original file line numberDiff line numberDiff line change
@@ -22,29 +22,17 @@ jobs:
2222
with:
2323
fetch-depth: 0
2424

25-
- name: Setup Node
26-
uses: actions/setup-node@v3
27-
with:
28-
node-version: 18
29-
3025
- name: Setup pnpm
31-
uses: pnpm/action-setup@v2.2.4
26+
uses: pnpm/action-setup@v3
3227
with:
33-
version: 8
28+
version: 9
3429
run_install: false
3530

36-
- name: Get pnpm store directory
37-
id: pnpm-store
38-
run: echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
39-
40-
- name: Use pnpm store
41-
uses: actions/cache@v3
42-
id: pnpm-cache
31+
- name: Setup Node
32+
uses: actions/setup-node@v4
4333
with:
44-
path: ${{ steps.pnpm-store.outputs.pnpm_cache_dir }}
45-
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
46-
restore-keys: |
47-
${{ runner.os }}-pnpm-
34+
node-version: 22
35+
cache: 'pnpm'
4836

4937
- name: Install Dependencies
5038
run: pnpm install --frozen-lockfile --prefer-offline

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
"rollup-plugin-dts": "^5.1.1",
107107
"tslib": "^2.4.1",
108108
"typescript": "^4.9.5",
109-
"vitest": "^0.25.3",
109+
"vitest": "^1.2.2",
110110
"zen-observable": "^0.10.0"
111111
}
112112
}

0 commit comments

Comments
 (0)