Skip to content

Commit b2f5330

Browse files
committed
Update github ci
1 parent 7c8444c commit b2f5330

File tree

1 file changed

+5
-18
lines changed

1 file changed

+5
-18
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -22,29 +22,16 @@ jobs:
2222
- name: Checkout 🛎
2323
uses: actions/checkout@master
2424

25-
- name: Install Node.js
26-
uses: actions/setup-node@v4
27-
with:
28-
node-version: 18
29-
3025
- uses: pnpm/action-setup@v4
3126
name: Install pnpm
3227
with:
33-
version: 8
34-
run_install: false
28+
version: 9
3529

36-
- name: Get pnpm store directory
37-
shell: bash
38-
run: |
39-
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
40-
41-
- uses: actions/cache@v4
42-
name: Setup pnpm cache
30+
- name: Install Node.js 20
31+
uses: actions/setup-node@v4
4332
with:
44-
path: ${{ env.STORE_PATH }}
45-
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
46-
restore-keys: |
47-
${{ runner.os }}-pnpm-store-
33+
node-version: 20
34+
cache: "pnpm"
4835

4936
- name: Install dependencies 📦
5037
run: pnpm install

0 commit comments

Comments
 (0)