File tree Expand file tree Collapse file tree 3 files changed +51
-30
lines changed Expand file tree Collapse file tree 3 files changed +51
-30
lines changed Original file line number Diff line number Diff line change 1+ name : release
2+ on :
3+ push :
4+ branches :
5+ - master
6+ - beta
7+ - alpha
8+ jobs :
9+ test :
10+ runs-on : ubuntu-latest
11+ strategy :
12+ matrix :
13+ node-version : [10.x, 12.x, 14.x]
14+ steps :
15+ - uses : actions/checkout@v2
16+ - name : Use Node.js ${{ matrix.node-version }}
17+ uses : actions/setup-node@v1
18+ with :
19+ node-version : ${{ matrix.node-version }}
20+ - run : npm install
21+ - run : npm test
22+ - run : npm run build --if-present
23+ coverage :
24+ needs : test
25+ runs-on : ubuntu-latest
26+ steps :
27+ - uses : actions/checkout@v2
28+ - uses : actions/setup-node@v1
29+ with :
30+ node-version : 12
31+ - run : npm install
32+ - run : npm run coverage
33+ - uses : coverallsapp/github-action@master
34+ with :
35+ github-token : ${{ secrets.GITHUB_TOKEN }}
36+ publish :
37+ needs : test
38+ runs-on : ubuntu-latest
39+ steps :
40+ - uses : actions/checkout@v2
41+ - uses : actions/setup-node@v1
42+ with :
43+ node-version : 12
44+ - run : npm install
45+ - run : npx semantic-release
46+ env :
47+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
48+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1919 "lint" : " eslint . --ext .ts --ignore-path .gitignore" ,
2020 "pretest" : " npm run lint" ,
2121 "test" : " jest" ,
22- "coverage" : " jest --coverage && cat ./coverage/lcov.info | coveralls" ,
23- "prepublishOnly" : " npm run build" ,
24- "semantic-release" : " semantic-release"
22+ "coverage" : " npm run test -- --coverage" ,
23+ "prepublishOnly" : " npm run build"
2524 },
2625 "repository" : {
2726 "type" : " git" ,
4342 "bugs" : {
4443 "url" : " https://github.com/floydspace/dynamodb-migrations-tool/issues"
4544 },
46- "homepage" : " https://floydspace.github.io" ,
45+ "homepage" : " https://floydspace.github.io/dynamodb-migrations-tool " ,
4746 "devDependencies" : {
4847 "@commitlint/cli" : " ^8.3.5" ,
4948 "@commitlint/config-conventional" : " ^8.3.4" ,
You can’t perform that action at this time.
0 commit comments