Skip to content

Commit 92de822

Browse files
committed
fixup!
1 parent 06e34ef commit 92de822

1 file changed

Lines changed: 27 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ jobs:
3232

3333
- name: Lint
3434
run: npm run lint
35+
3536
test:
36-
name: Test "${{ matrix.test-type }}" - ${{ matrix.os }} (Node.js ${{ matrix.node-version }})
37+
name: Test - ${{ matrix.os }} (Node.js ${{ matrix.node-version }})
3738

3839
strategy:
3940
fail-fast: false
4041
matrix:
4142
os: [ubuntu-latest, windows-latest, macos-latest]
4243
node-version: [18.x, 20.x, 22.x, 24.x]
43-
test-type: [coverage, smoketests]
4444

4545
runs-on: ${{ matrix.os }}
4646

@@ -61,8 +61,31 @@ jobs:
6161
run: npm run build:ci
6262

6363
- name: Run tests
64-
run: npm run test:${{ matrix.test-type }} -- --ci
64+
run: npm run test:coverage -- --ci
6565

6666
- name: Upload coverage to Codecov
67-
if: always() && matrix.test-type == 'coverage'
67+
if: always()
6868
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
69+
70+
smoketests:
71+
name: Smoketests
72+
runs-on: ubuntu-latest
73+
74+
steps:
75+
- name: Checkout code
76+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
77+
78+
- name: Setup Node.js
79+
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
80+
with:
81+
node-version: lts/*
82+
cache: "npm"
83+
84+
- name: Install dependencies
85+
run: npm ci
86+
87+
- name: Prepare environment for tests
88+
run: npm run build:ci
89+
90+
- name: Run tests
91+
run: npm run test:smoketests

0 commit comments

Comments
 (0)