Skip to content

Commit 03cf8e5

Browse files
committed
chore: tweak CI
1 parent 719d14f commit 03cf8e5

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,22 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
# Use the latest active LTS version of Node.js
2019
node-version: ["lts/*"]
21-
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2220

2321
steps:
24-
- uses: actions/checkout@v3
22+
- uses: actions/checkout@v4
23+
- name: Install pnpm
24+
uses: pnpm/action-setup@v4
25+
with:
26+
version: 10
2527
- name: Use Node.js ${{ matrix.node-version }}
26-
uses: actions/setup-node@v3
28+
uses: actions/setup-node@v4
2729
with:
2830
node-version: ${{ matrix.node-version }}
29-
cache: 'npm'
31+
cache: 'pnpm'
3032
- name: Install dependencies
31-
run: yarn --frozen-lockfile
33+
run: pnpm install
3234
- name: Build source code
33-
run: yarn build
35+
run: pnpm build
3436
- name: Run test
35-
run: yarn test
37+
run: pnpm test

0 commit comments

Comments
 (0)