Skip to content

Commit 12132fe

Browse files
committed
Update test.yml
1 parent 16d1789 commit 12132fe

File tree

1 file changed

+7
-30
lines changed

1 file changed

+7
-30
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -16,38 +16,14 @@ jobs:
1616
# List of supported node versions (latest is tested in `test-os`)
1717
- 20.x
1818
- 22.x
19-
- 23.x
20-
19+
- 24.x
20+
- 25.x
2121
os:
2222
- ubuntu-latest
2323

24-
steps:
25-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
26-
27-
- name: Setup
28-
uses: ./.github/actions/setup
29-
with:
30-
node-version: ${{ matrix.node-version }}
31-
32-
- run: npm -v
33-
- run: npm ci --omit=dev
34-
- run: npm test
35-
36-
# Ensure the repository is clean after build & test
37-
- run: git --no-pager diff --compact-summary --exit-code
38-
39-
test-os:
40-
runs-on: ${{ matrix.os }}
41-
42-
strategy:
43-
matrix:
44-
node-version:
45-
# Test the latest node version here, move older versions to `test-old-node-versions`
46-
- 22.x
47-
48-
os:
49-
- windows-latest
50-
# - macos-latest
24+
include:
25+
- os: windows-latest
26+
node-version: 24.x
5127

5228
steps:
5329
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
@@ -57,6 +33,7 @@ jobs:
5733
with:
5834
node-version: ${{ matrix.node-version }}
5935

36+
- run: npm -v
6037
- run: npm ci --omit=dev
6138
- run: npm test
6239

@@ -69,4 +46,4 @@ jobs:
6946
steps:
7047
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
7148
- run: docker build -t cspell .
72-
- run: docker run -v $(pwd):/workdir cspell
49+
- run: docker run -v $(pwd):/workdir cspell .

0 commit comments

Comments
 (0)