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 601a0af commit 6fc6215Copy full SHA for 6fc6215
.github/workflows/ci.yml
@@ -0,0 +1,31 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches: [master, develop]
6
+ pull_request:
7
+ branches: [master]
8
9
+jobs:
10
+ test:
11
+ name: Test
12
+ runs-on: ubuntu-latest
13
14
+ steps:
15
+ - name: Checkout repository
16
+ uses: actions/checkout@v4
17
18
+ - name: Setup Node.js
19
+ uses: actions/setup-node@v4
20
+ with:
21
+ node-version: 'lts/*'
22
+ cache: 'npm'
23
24
+ - name: Install dependencies
25
+ run: npm ci
26
27
+ - name: Build project
28
+ run: npm run build
29
30
+ - name: Run unit tests
31
+ run: npm run test
0 commit comments