File tree Expand file tree Collapse file tree 5 files changed +187
-131
lines changed Expand file tree Collapse file tree 5 files changed +187
-131
lines changed Original file line number Diff line number Diff line change 1+ name : release
2+ on :
3+ push :
4+ branches :
5+ - master
6+ jobs :
7+ release :
8+ name : release
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v3
12+ - uses : actions/setup-node@v3
13+ with :
14+ node-version : ' 18.x'
15+ cache : npm
16+ - name : install packages
17+ run : npm ci
18+ - name : test
19+ run : npm test
20+ - name : build and zip lambdas
21+ run : npm run build
22+ - name : semantic release
23+ run : npx semantic-release
24+ env :
25+ GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
Original file line number Diff line number Diff line change 1+ name : test
2+ on :
3+ push :
4+ branches :
5+ - master
6+ pull_request :
7+ types :
8+ - opened
9+ - synchronize
10+ jobs :
11+ test :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@v3
15+ - uses : actions/setup-node@v3
16+ with :
17+ node-version : ' 18.x'
18+ cache : npm
19+ - name : install packages
20+ run : npm ci
21+ - name : test
22+ run : npm test
Original file line number Diff line number Diff line change 1+ {
2+ "branches" : [
3+ " master"
4+ ],
5+ "plugins" : [
6+ " @semantic-release/commit-analyzer" ,
7+ " @semantic-release/release-notes-generator" ,
8+ [
9+ " @semantic-release/github" ,
10+ {
11+ "assets" : [
12+ {
13+ "path" : " dist/*"
14+ }
15+ ]
16+ }
17+ ]
18+ ]
19+ }
You can’t perform that action at this time.
0 commit comments