File tree Expand file tree Collapse file tree 2 files changed +15
-7
lines changed
Expand file tree Collapse file tree 2 files changed +15
-7
lines changed Original file line number Diff line number Diff line change 11name : Check PR title
22
33on :
4- pull_request :
4+ pull_request_target :
55 types :
66 - opened
7- - reopened
87 - edited
98 - synchronize
9+ - labeled
10+ - unlabeled
1011
1112jobs :
1213 lint :
Original file line number Diff line number Diff line change 11name : default
22
3- on : [push]
3+ on :
4+ pull_request_target :
5+ push :
6+ branches :
7+ - master
8+ - next
9+ - next-major
10+ - alpha
11+ - beta
412
513jobs :
614 lint :
1422 - uses : github/super-linter/slim@v4
1523 env :
1624 DEFAULT_BRANCH : master
17- GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
25+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
1826 VALIDATE_ALL_CODEBASE : true
1927 VALIDATE_JAVASCRIPT_ES : true
2028 VALIDATE_EDITORCONFIG : true
@@ -40,12 +48,11 @@ jobs:
4048 cache : ' npm'
4149 - run : npm ci --no-optional
4250 - run : npm test
43- - name : Archive code coverage results
44- uses : actions/upload-artifact@v2
51+ - uses : actions/upload-artifact@v2
4552 with :
4653 name : code-coverage-report
4754 path : coverage
48- retention-days : 30
55+ retention-days : 90
4956 - uses : vebr/jest-lcov-reporter@v0.2.1
5057 with :
5158 github-token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments