File tree Expand file tree Collapse file tree 1 file changed +39
-32
lines changed
Expand file tree Collapse file tree 1 file changed +39
-32
lines changed Original file line number Diff line number Diff line change 1- name : ' build-test'
2- on : # rebuild any PRs and main branch changes
3- pull_request :
4- push :
5- branches :
6- - main
7- - ' releases/*'
8-
9- jobs :
10- build : # make sure build/ci work properly
11- runs-on : ubuntu-latest
12- steps :
1+ name : ' build-test'
2+ on : # rebuild any PRs and main branch changes
3+ pull_request :
4+ push :
5+ # branches:
6+ # - main
7+ # - 'releases/*'
8+
9+ jobs :
10+ build : # make sure build/ci work properly
11+ runs-on : ubuntu-latest
12+ steps :
1313 - uses : actions/checkout@v3
14- - run : |
15- npm ci
16- - run : |
17- npm run all
18- - name : Verify no unstaged changes
19- run : __test__/verify-no-unstaged-changes.sh
14+ - run : |
15+ npm ci
16+ - run : |
17+ npm run all
18+ - name : Verify no unstaged changes
19+ run : __test__/verify-no-unstaged-changes.sh
2020
21- test : # make sure the action works on a clean machine without building
22- runs-on : ubuntu-latest
23- steps :
21+ test : # make sure the action works on a clean machine without building
22+ runs-on : ubuntu-latest
23+ steps :
2424 - uses : actions/checkout@v3
25- - uses : ./
25+ - uses : ./
2626
27+ dump-event :
28+ runs-on : ubuntu-latest
29+ steps :
30+ - uses : actions/upload-artifact@v3
31+ with :
32+ name : github-context
33+ path : ${{github.event_path}}
2734
28- pr-build-test :
29- runs-on : ubuntu-latest
30- if : ${{ github.event_name == 'pull_request' }}
31- steps :
35+ pr-build-test :
36+ runs-on : ubuntu-latest
37+ if : ${{ github.event_name == 'pull_request' }}
38+ steps :
3239 - uses : actions/checkout@v3
3340 - uses : actions/setup-node@v3
34- with :
41+ with :
3542 node-version : ' 16'
36- - run : |
37- npm ci
38- - run : |
39- npm run build
40- - uses : ./
43+ - run : |
44+ npm ci
45+ - run : |
46+ npm run build
47+ - uses : ./
You can’t perform that action at this time.
0 commit comments