We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1619ae commit 0c45212Copy full SHA for 0c45212
.github/workflows/ci.yml
@@ -0,0 +1,40 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
8
9
+jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - uses: actions/checkout@v5
15
16
+ - name: Use Node.js
17
+ uses: actions/setup-node@v4
18
+ with:
19
+ node-version: "22"
20
+ cache: "npm"
21
22
+ - name: Cache node modules
23
+ uses: actions/cache@v4
24
25
+ path: node_modules
26
+ key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
27
+ restore-keys: |
28
+ ${{ runner.os }}-node-
29
30
+ - name: Install dependencies
31
+ run: npm ci
32
33
+ - name: Run ESLint
34
+ run: npm run eslint
35
36
+ - name: Run lint
37
+ run: npm run lint
38
39
+ - name: Run build
40
+ run: npm run build
0 commit comments