Skip to content

Commit cc9d10c

Browse files
committed
Simplify workflow to run on single Node.js version
1 parent 50d5262 commit cc9d10c

1 file changed

Lines changed: 3 additions & 12 deletions

File tree

.github/workflows/test.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,35 +10,26 @@ jobs:
1010
test:
1111
runs-on: ubuntu-latest
1212

13-
strategy:
14-
matrix:
15-
node-version: [14, 16, 18]
16-
1713
steps:
1814
- uses: actions/checkout@v3
1915

20-
- name: Set up Node.js ${{ matrix.node-version }}
16+
- name: Set up Node.js
2117
uses: actions/setup-node@v3
2218
with:
23-
node-version: ${{ matrix.node-version }}
19+
node-version: '18'
2420
cache: 'npm'
2521

2622
- name: Install dependencies
2723
run: npm ci
2824

29-
- name: Create test directories
30-
run: |
31-
mkdir -p coverage
32-
mkdir -p test-results
33-
3425
- name: Run tests
3526
run: npm test
3627

3728
- name: Upload test results
3829
if: always()
3930
uses: actions/upload-artifact@v3
4031
with:
41-
name: test-results-${{ matrix.node-version }}
32+
name: test-results
4233
path: |
4334
coverage/
4435
test-results/

0 commit comments

Comments
 (0)