We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bcca158 commit a30a940Copy full SHA for a30a940
.github/workflows/buildandtestval.yml
@@ -0,0 +1,35 @@
1
+name: CI Build and Test Validation
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
9
10
11
+jobs:
12
+ build:
13
+ name: build_and_test_validation_${{ matrix.os }}
14
+ runs-on: ${{ matrix.os }}
15
+ strategy:
16
+ matrix:
17
+ os: [ubuntu-latest, windows-latest, macOs-latest]
18
19
+ steps:
20
+ - name: Checkout repository
21
+ uses: actions/checkout@v3
22
23
+ - name: Setup Node.js
24
+ uses: actions/setup-node@v3
25
+ with:
26
+ node-version: '16' # or your preferred Node.js version
27
28
+ - name: Install dependencies
29
+ run: npm install
30
31
+ - name: Build project
32
+ run: npm run build
33
34
+ - name: Run tests
35
+ run: npm run test
0 commit comments