File tree Expand file tree Collapse file tree 4 files changed +84
-0
lines changed
generators/app/templates/.github/workflows Expand file tree Collapse file tree 4 files changed +84
-0
lines changed Original file line number Diff line number Diff line change 2929 <img src =" banner.png " >
3030</div >
3131
32+ ## Features
33+
34+ - [x] Rollupjs packaging system with TypeScript by default
35+ - [x] Tslint support
36+ - [x] Husky hooks support
37+ - [x] Conventional release by ** standard-version**
38+ - [x] GitHub actions (build, create github release, publish to npm)
39+
3240## Installation
3341
3442Make sure ` yeoman ` is installed
Original file line number Diff line number Diff line change 1+ name : create-github-release
2+
3+ on :
4+ push :
5+ tags :
6+ - ' v[0-9]+.[0-9]+.[0-9]+'
7+
8+ jobs :
9+ create-github-release :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v2
13+ - uses : actions/create-release@v1
14+ env :
15+ # This token is provided by Actions, you do not need to create your own token
16+ GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
17+ with :
18+ tag_name : ${{github.ref}}
19+ release_name : Release ${{github.ref}}
Original file line number Diff line number Diff line change 1+ name : main
2+
3+ on : push
4+
5+ jobs :
6+ lint :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - uses : actions/checkout@v2
10+ - uses : actions/setup-node@v1
11+ with :
12+ node-version : 12
13+ registry-url : https://registry.npmjs.org
14+ - name : Install dependencies
15+ run : yarn
16+ - name : Analyze source
17+ run : yarn lint
18+
19+ build :
20+ runs-on : ubuntu-latest
21+ steps :
22+ - uses : actions/checkout@v2
23+ - uses : actions/setup-node@v1
24+ with :
25+ node-version : 12
26+ registry-url : https://registry.npmjs.org
27+ - name : Install dependencies
28+ run : yarn
29+ - name : Build source
30+ run : yarn build
Original file line number Diff line number Diff line change 1+ name : publish-npm
2+
3+ on :
4+ push :
5+ tags :
6+ - ' v[0-9]+.[0-9]+.[0-9]+'
7+
8+ jobs :
9+ publish-npm :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v2
13+ - uses : actions/setup-node@v1
14+ with :
15+ node-version : 12
16+ registry-url : https://registry.npmjs.org
17+ - name : Install dependencies
18+ run : yarn
19+ - name : Analyze source
20+ run : yarn lint
21+ - name : Build source
22+ run : yarn build
23+ - name : Publish package
24+ run : yarn publish --access public
25+ env :
26+ # Create your own token at https://github.com/organization/repository/settings/secrets
27+ NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
You can’t perform that action at this time.
0 commit comments