File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,6 +26,12 @@ This pull request adds everything the project needs to be at its first release.
2626 - Change ` umd ` to ` cjs ` in ` rollup.config.js ` and remove ` output.name ` .
2727 - Change ` eslint-es3 ` to ` eslint-es6 ` in ` .eslintrc.json ` .
2828
29+ - [ ] Set up integration with Codecov:
30+ - Find the Codecov token in the Codecov settings for your new repository:
31+ https://codecov.io/gh/{owner}/{repository}/settings
32+ - Save it as ` CODECOV_TOKEN ` in the secrets for your new repository:
33+ https://github.com/{owner}/{repository}/settings/secrets
34+
2935- [ ] Remove the ` initial-pr.md ` pull-request template.
3036
3137- [ ] Write the code.
Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ pull_request :
5+ push :
6+ branches :
7+ - master
8+
9+ jobs :
10+ test :
11+ name : Automated Tests
12+ runs-on : ubuntu-latest
13+ steps :
14+ - name : Checkout Code
15+ uses : actions/checkout@v1
16+ - name : Install NodeJS
17+ uses : actions/setup-node@v1
18+ with :
19+ node-version : 12.x
20+ - name : Install Dependencies
21+ run : npm install
22+ - name : Execute Tests
23+ run : npm test
24+ - name : Upload Coverage Report
25+ run : npm run codecov
26+ env :
27+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments