Skip to content

Commit b9e8041

Browse files
committed
ci: add test job to pipeline
1 parent e6d259c commit b9e8041

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,22 @@ jobs:
4242

4343
- name: Build project
4444
run: npm run build
45+
46+
test:
47+
name: Test
48+
runs-on: ubuntu-latest
49+
steps:
50+
- name: Checkout code
51+
uses: actions/checkout@v4
52+
53+
- name: Setup Node.js
54+
uses: actions/setup-node@v4
55+
with:
56+
node-version: 20
57+
cache: 'npm'
58+
59+
- name: Install dependencies
60+
run: npm ci
61+
62+
- name: Run tests
63+
run: npm test

0 commit comments

Comments
 (0)