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.
2 parents a79e417 + e378228 commit cc0bdd6Copy full SHA for cc0bdd6
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,35 @@
1
+name: CI
2
+
3
+on:
4
+ pull_request:
5
+ branches:
6
+ - main
7
8
+permissions:
9
+ contents: read
10
11
+concurrency:
12
+ group: ci-${{ github.event.pull_request.number }}
13
+ cancel-in-progress: true
14
15
+jobs:
16
+ build-and-test:
17
+ runs-on: ubuntu-latest
18
+ steps:
19
+ - name: Checkout
20
+ uses: actions/checkout@v4
21
22
+ - name: Setup Node.js
23
+ uses: actions/setup-node@v4
24
+ with:
25
+ node-version: '24'
26
+ cache: npm
27
28
+ - name: Install dependencies
29
+ run: npm ci
30
31
+ - name: Build (production)
32
+ run: npm run build -- --configuration production
33
34
+ - name: Run unit tests
35
+ run: npm test -- --no-watch --no-progress --browsers=ChromeHeadless
0 commit comments