Skip to content

Commit ae7a9d7

Browse files
authored
Merge branch 'aicore:main' into main
2 parents 36250fe + 7986b7b commit ae7a9d7

File tree

2 files changed

+29
-4
lines changed

2 files changed

+29
-4
lines changed

.github/workflows/build_verify.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
1-
name: Build verification
1+
name: Build verification on push to main branch
22

33
on:
44
push:
55
branches: [ main ]
6-
pull_request:
7-
# The branches below must be a subset of the branches above
8-
branches: [ main ]
96

107
jobs:
118
build-tasks:
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Build verification on pull request
2+
3+
on:
4+
pull_request:
5+
branches: [ main ]
6+
7+
jobs:
8+
build-tasks:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v3
12+
- name: Npm Install
13+
run: |
14+
npm ci
15+
- name: eslint using npm run eslint
16+
run: |
17+
npm run lint
18+
- name: building build
19+
run: |
20+
npm run build
21+
- name: Unit tests with coverage
22+
run: |
23+
npm run cover:unit
24+
- name: Running Integration tests
25+
# SECURITY WARNING: Remove integration test run (this step) on pull request if any secret access is required to run integration tests.
26+
# https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
27+
run: |
28+
npm run test:integ

0 commit comments

Comments
 (0)