We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de35306 commit 433e2f8Copy full SHA for 433e2f8
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,35 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
8
9
+jobs:
10
+ build-test:
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - name: 🧱 Checkout code
15
+ uses: actions/checkout@v4
16
17
+ - name: 📦 Set up Node.js
18
+ uses: actions/setup-node@v4
19
+ with:
20
+ node-version: 20
21
22
+ - name: 📥 Install dependencies
23
+ run: npm ci
24
25
+ - name: 🛠️ Build project
26
+ run: npm run build
27
28
+ - name: 🧹 Lint code
29
+ run: npm run lint
30
31
+ - name: 🎨 Check formatting
32
+ run: npm run format
33
34
+ - name: 🧪 Run tests
35
+ run: npm test
0 commit comments