File tree Expand file tree Collapse file tree 3 files changed +22
-2
lines changed
Expand file tree Collapse file tree 3 files changed +22
-2
lines changed Original file line number Diff line number Diff line change 1+ name : lint-source
2+
3+ on : push
4+
5+ jobs :
6+ lint-source :
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 : Check code style
17+ run : yarn format:check
18+ - name : Check code quality
19+ run : yarn lint
Original file line number Diff line number Diff line change 1717 - name : Publish package
1818 run : yarn publish --access public
1919 env :
20+ # Create your own token at https://github.com/organization/repository/settings/secrets
2021 NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
Original file line number Diff line number Diff line change 99 <a href="https://github.com/boringcodes/create-dotgithub" aria-label="Prettier Code Style">
1010 <img src="https://img.shields.io/badge/code_style-prettier-brightgreen?style=flat-square">
1111 </a>
12- <a href="https://github.com/boringcodes/create-dotgithub/actions" aria-label="GitHub Workflow Status">
13- <img src="https://img.shields.io/github/workflow/status/boringcodes/create-dotgithub/publish-npm ?style=flat-square">
12+ <a href="https://github.com/boringcodes/create-dotgithub/actions" aria-label="Lint Status">
13+ <img src="https://img.shields.io/github/workflow/status/boringcodes/create-dotgithub/lint-source ?style=flat-square&label=lint ">
1414 </a>
1515 <a href="https://david-dm.org/boringcodes/create-dotgithub" aria-label="Dependencies Status">
1616 <img src="https://img.shields.io/david/boringcodes/create-dotgithub?style=flat-square">
You can’t perform that action at this time.
0 commit comments