Skip to content

Commit f1fea20

Browse files
committed
ci: add 22 in tests and bump action version
1 parent c84b2d4 commit f1fea20

File tree

3 files changed

+17
-7
lines changed

3 files changed

+17
-7
lines changed

Diff for: .github/workflows/check-docs.yml

+14-5
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,25 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
os: [ubuntu-latest, windows-latest, macos-latest]
18-
node: ['18', '20']
19-
bundler: ['vite', 'webpack']
17+
os:
18+
- ubuntu-latest
19+
- windows-latest
20+
- macos-latest
21+
node:
22+
- 18
23+
- 20
24+
- 22
25+
bundler:
26+
- vite
27+
- webpack
2028

2129
runs-on: ${{ matrix.os }}
2230

2331
steps:
2432
- uses: actions/checkout@v4
2533

2634
- name: Install pnpm
27-
uses: pnpm/action-setup@v2
35+
uses: pnpm/action-setup@v4
2836

2937
- name: Use Node.js ${{ matrix.node }}
3038
uses: actions/setup-node@v4
@@ -47,7 +55,8 @@ jobs:
4755
if: ${{ always() }}
4856
name: check-docs result
4957
runs-on: ubuntu-latest
50-
needs: [check-docs]
58+
needs:
59+
- check-docs
5160
steps:
5261
- if: ${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') }}
5362
run: exit 1

Diff for: .github/workflows/docs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
fetch-depth: 0
2121

2222
- name: Install pnpm
23-
uses: pnpm/action-setup@v2
23+
uses: pnpm/action-setup@v4
2424

2525
- name: Setup Node.js
2626
uses: actions/setup-node@v4

Diff for: .github/workflows/issue-commented.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ name: issue-commented
22

33
on:
44
issue_comment:
5-
types: [created]
5+
types:
6+
- created
67

78
jobs:
89
issue-commented:

0 commit comments

Comments
 (0)