File tree Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Release
2+ on :
3+ push :
4+ branches :
5+ - main
6+
7+ jobs :
8+ release :
9+ name : release
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v2
13+ - uses : actions/setup-node@v2
14+ with :
15+ node-version : " 12.x"
16+ - run : npm ci
17+ - run : npx semantic-release
18+ env :
19+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
20+ NPM_TOKEN : ${{ secrets.NPM_AUTOMATION_TOKEN }}
Original file line number Diff line number Diff line change 1+ name : Test
2+ on :
3+ push :
4+ branches :
5+ - main
6+ pull_request :
7+ types : [opened, synchronize]
8+
9+ jobs :
10+ test :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v2
14+ - uses : actions/setup-node@v2
15+ with :
16+ node-version : 12
17+ - name : Install
18+ run : npm ci
19+ - name : Test
20+ run : npm test
You can’t perform that action at this time.
0 commit comments