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 dd0615a commit 8163176Copy full SHA for 8163176
.github/workflows/ci.yml
@@ -0,0 +1,34 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches: ['main']
6
+ pull_request:
7
+ types: [opened, synchronize]
8
9
+jobs:
10
+ build:
11
+ name: Build and Test
12
+ timeout-minutes: 15
13
+ runs-on: ubuntu-latest
14
15
+ steps:
16
+ - name: Check out code
17
+ uses: actions/checkout@v4
18
+ with:
19
+ fetch-depth: 2
20
21
+ - name: Setup Node.js environment
22
+ uses: actions/setup-node@v4
23
24
+ node-version: 20
25
+ cache: 'npm'
26
27
+ - name: Install dependencies
28
+ run: npm install
29
30
+ - name: Build
31
+ run: npm run build
32
33
+ - name: Test
34
+ run: npm run test
0 commit comments