File tree Expand file tree Collapse file tree 5 files changed +84
-0
lines changed Expand file tree Collapse file tree 5 files changed +84
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+ on :
3+ pull_request :
4+ branches :
5+ - ' **'
6+
7+ permissions :
8+ contents : read # for checkout
9+
10+ jobs :
11+ test :
12+ name : Test
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/checkout@v3
16+ with :
17+ fetch-depth : 0
18+ - uses : actions/setup-node@v3
19+ with :
20+ cache : yarn
21+ node-version : " 18.16"
22+ - run : yarn install --immutable
23+ - name : Run tests
24+ env :
25+ WTP_API_KEY : mock
26+ run : yarn run test
Original file line number Diff line number Diff line change 1+ name : Semantic PR
2+ on :
3+ pull_request_target :
4+ types :
5+ - opened
6+ - edited
7+ - synchronize
8+ jobs :
9+ main :
10+ name : Validate PR title
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : amannn/action-semantic-pull-request@v4
14+ env :
15+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
16+ with :
17+ types : |
18+ fix
19+ feat
20+ chore
21+
Original file line number Diff line number Diff line change 1+ name : Release
2+ on :
3+ push :
4+ branches :
5+ - main
6+ - master
7+
8+ permissions :
9+ contents : write
10+ pull-requests : write
11+
12+ jobs :
13+ release-please :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - uses : google-github-actions/release-please-action@v3
17+ id : release
18+ with :
19+ release-type : node
20+ package-name : release-please-action
Original file line number Diff line number Diff line change 1+ {
2+ "." : " 1.1.2"
3+ }
4+
Original file line number Diff line number Diff line change 1+ {
2+ "packages" : {
3+ "." : {
4+ "release-type" : " node" ,
5+ "changelog-type" : " github" ,
6+ "bump-minor-pre-major" : false ,
7+ "bump-patch-for-minor-pre-major" : false ,
8+ "draft" : false ,
9+ "prerelease" : false
10+ }
11+ },
12+ "$schema" : " https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
13+ }
You can’t perform that action at this time.
0 commit comments