Skip to content

Commit a30a940

Browse files
committed
test validation
1 parent bcca158 commit a30a940

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

Diff for: .github/workflows/buildandtestval.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: CI Build and Test Validation
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
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

Comments
 (0)