File tree Expand file tree Collapse file tree 2 files changed +29
-4
lines changed
Expand file tree Collapse file tree 2 files changed +29
-4
lines changed Original file line number Diff line number Diff line change 1- name : Build verification
1+ name : Build verification on push to main branch
22
33on :
44 push :
55 branches : [ main ]
6- pull_request :
7- # The branches below must be a subset of the branches above
8- branches : [ main ]
96
107jobs :
118 build-tasks :
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments