1 parent fc34ee0 commit f3271eeCopy full SHA for f3271ee
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,31 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
+ name: Lint and build
12
+ runs-on: ubuntu-latest
13
14
+ steps:
15
+ - name: Checkout
16
+ uses: actions/checkout@v4
17
18
+ - name: Setup Node
19
+ uses: actions/setup-node@v4
20
+ with:
21
+ node-version: 22
22
+ cache: npm
23
24
+ - name: Install dependencies
25
+ run: npm ci
26
27
+ - name: Lint
28
+ run: npm run lint
29
30
+ - name: Build
31
+ run: npm run build
0 commit comments