We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f136d1 commit e88590aCopy full SHA for e88590a
.github/workflows/unit-test.yml
@@ -0,0 +1,29 @@
1
+name: Unit Tests
2
+
3
+on:
4
+ pull_request:
5
+ branches:
6
+ - main
7
+ - develop
8
9
+jobs:
10
+ test:
11
12
+ runs-on: ubuntu-latest
13
14
+ steps:
15
+ - uses: actions/checkout@v6
16
17
+ - uses: actions/setup-node@v6
18
+ with:
19
+ node-version: '24.x'
20
21
+ - uses: SocketDev/action@v1
22
23
+ mode: firewall-free
24
25
+ - name: Install dev dependencies
26
+ run: sfw npm install --no-package-lock
27
28
+ - name: Run unit tests
29
+ run: npm run test
0 commit comments