Skip to content

Commit bb219e0

Browse files
authored
Merge pull request #2 from eniehack/feat/gha-update-202502
chore: update gha script etc.
2 parents 000abd6 + 65ad1df commit bb219e0

File tree

1 file changed

+6
-18
lines changed

1 file changed

+6
-18
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -16,31 +16,19 @@ jobs:
1616
uses: actions/checkout@v3
1717

1818
- name: Install pnpm
19-
uses: pnpm/action-setup@v2
19+
uses: pnpm/action-setup@v4
2020
with:
21-
version: 8
21+
version: 10
22+
run_install: false
2223

2324
- name: Install Node.js
24-
uses: actions/setup-node@v3
25+
uses: actions/setup-node@v4
2526
with:
26-
node-version: 18
27+
node-version: 20
2728
cache: pnpm
2829

29-
- name: Get pnpm store directory
30-
shell: bash
31-
run: |
32-
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
33-
34-
- uses: actions/cache@v3
35-
name: Setup pnpm cache
36-
with:
37-
path: ${{ env.STORE_PATH }}
38-
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
39-
restore-keys: |
40-
${{ runner.os }}-pnpm-store-
41-
4230
- name: Install dependencies
43-
run: pnpm install
31+
run: pnpm install --frozen-lockfile
4432

4533
- name: build
4634
env:

0 commit comments

Comments
 (0)