Personal Telegram developer console for GitHub
ci: add GitHub Actions test workflow
davoodmehraban89 committed
Oct 2, 2026 at 16:37 UTC
9df26c09efa251431eed99abbf1d8d266e4ae158
1 file changed
+29
.github/workflows/ci.yml
new
+29
@@ -0,0 +1,29 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
+ branches: [main]
8
+
9
+permissions:
10
+ contents: read
11
+
12
+jobs:
13
+ test:
14
+ runs-on: ubuntu-latest
15
+ timeout-minutes: 5
16
+ steps:
17
+ - name: Checkout
18
+ uses: actions/checkout@v4
19
+
20
+ - name: Setup Node
21
+ uses: actions/setup-node@v4
22
+ with:
23
+ node-version: "22"
24
+
25
+ - name: Install dependencies
26
+ run: npm install --no-audit --no-fund
27
+
28
+ - name: Run tests
29
+ run: npm test