1 parent 19d63df commit ee9e08dCopy full SHA for ee9e08d
1 file changed
.github/workflows/nodejs-ci.yml
@@ -0,0 +1,29 @@
1
+name: Node.js CI
2
+
3
+on:
4
+ push:
5
+ branches: [ master ]
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - name: Checkout code
15
+ uses: actions/checkout@v3
16
17
+ - name: Setup Node.js
18
+ uses: actions/setup-node@v3
19
+ with:
20
+ node-version: '18'
21
22
+ - name: Install dependencies
23
+ run: npm ci
24
25
+ - name: Run tests
26
+ run: npm test -- --passWithNoTests --watchAll=false
27
28
+ - name: Build project
29
+ run: npm run build
0 commit comments