Skip to content

Commit 39b8954

Browse files
committed
update
1 parent fee88ff commit 39b8954

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

.github/workflows/format.yml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,21 @@ jobs:
77
runs-on: ubuntu-latest
88

99
steps:
10-
- name: Checkout code
11-
uses: actions/checkout@v3
10+
- name: Checkout
11+
uses: actions/checkout@v4
1212

13-
- name: Setup Node.js
14-
uses: actions/setup-node@v3
13+
- name: Install pnpm
14+
uses: pnpm/[email protected]
15+
16+
- name: Set node version to 20
17+
uses: actions/setup-node@v4
1518
with:
16-
node-version: 18
19+
node-version: 20
20+
registry-url: https://registry.npmjs.org/
21+
cache: pnpm
1722

18-
- name: Install dependencies
19-
run: npm install
23+
- name: Install deps
24+
run: pnpm install
2025

2126
- name: Run Prettier Check
2227
run: npm run format:check

0 commit comments

Comments
 (0)