We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8709ecb + 338f79a commit 487ac6bCopy full SHA for 487ac6b
.github/workflows/ci.yml
@@ -0,0 +1,34 @@
1
+name: CI
2
+
3
+on:
4
+ pull_request:
5
+ branches:
6
+ - main
7
+ push:
8
9
10
11
+jobs:
12
+ build-and-test:
13
+ runs-on: ubuntu-latest
14
+ permissions:
15
+ contents: read
16
17
+ steps:
18
+ - name: Checkout code
19
+ uses: actions/checkout@v4
20
21
+ - name: Setup Node.js
22
+ uses: actions/setup-node@v4
23
+ with:
24
+ node-version: '20'
25
+ cache: 'npm'
26
27
+ - name: Install dependencies
28
+ run: npm ci
29
30
+ - name: Build
31
+ run: npm run build
32
33
+ - name: Test
34
+ run: npm test -- --run
0 commit comments