We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f98744 commit 3e84e65Copy full SHA for 3e84e65
1 file changed
.github/workflows/tests.yml
@@ -0,0 +1,33 @@
1
+name: 🧪 CI Tests
2
+
3
+on:
4
+ push:
5
+ branches: [ main, feature/tests ]
6
+ pull_request:
7
8
9
+jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
13
+ strategy:
14
+ matrix:
15
+ node-version: [18.x, 20.x]
16
17
+ steps:
18
+ - name: 📥 Checkout repo
19
+ uses: actions/checkout@v4
20
21
+ - name: ⚡ Setup Node.js
22
+ uses: actions/setup-node@v4
23
+ with:
24
+ node-version: ${{ matrix.node-version }}
25
26
+ - name: 📦 Install dependencies
27
+ run: npm install
28
29
+ - name: 🏗️ Build TypeScript
30
+ run: npm run build
31
32
+ - name: 🧪 Run Jest tests
33
+ run: npm test
0 commit comments