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