Skip to content

Commit 1e6ccbd

Browse files
committed
ci: update workflow config
1 parent 3db9f09 commit 1e6ccbd

File tree

1 file changed

+4
-19
lines changed

1 file changed

+4
-19
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -26,31 +26,16 @@ jobs:
2626
with:
2727
fetch-depth: 0
2828

29-
- uses: actions/setup-node@v3
29+
- uses: actions/setup-node@v4
3030
with:
3131
registry-url: https://registry.npmjs.org/
32-
node-version: lts/*
32+
node-version: latest
3333

34-
- uses: pnpm/action-setup@v2
34+
- uses: pnpm/action-setup@v4
3535
name: Install pnpm
3636
id: pnpm-install
3737
with:
38-
version: 8
39-
run_install: false
40-
41-
- name: Get pnpm store directory
42-
id: pnpm-cache
43-
shell: bash
44-
run: |
45-
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
46-
47-
- uses: actions/cache@v3
48-
name: Setup pnpm cache
49-
with:
50-
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
51-
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
52-
restore-keys: |
53-
${{ runner.os }}-pnpm-store-
38+
version: 10
5439

5540
- name: Install dependencies
5641
run: pnpm install

0 commit comments

Comments
 (0)