This repository was archived by the owner on Nov 6, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : lint
2+ on :
3+ - push
4+ - pull_request
5+ jobs :
6+ lint :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - uses : actions/checkout@v2
10+ - run : npm i # There is a bug with npm ci -> https://github.com/npm/cli/issues/558
11+ - run : npm run lint
12+ commitlint :
13+ runs-on : ubuntu-latest
14+ env :
15+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
16+ steps :
17+ - uses : actions/checkout@v2
18+ with :
19+ fetch-depth : 0
20+ - uses : wagoid/commitlint-github-action@v1
Original file line number Diff line number Diff line change 1- name : tests
1+ name : test
22on :
33 - push
44 - pull_request
55
66jobs :
7- lintAndTest :
7+ test :
88 runs-on : ubuntu-latest
99 steps :
1010 - uses : actions/checkout@v2
1313 with :
1414 node-version : 10.x
1515 - run : npm i # There is a bug with npm ci -> https://github.com/npm/cli/issues/558
16- - run : npm run lint
1716 - run : npm run test:coverage
18- - name : Coveralls
17+ - name : Upload to Coveralls
1918 uses : coverallsapp/github-action@master
2019 with :
2120 github-token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ with a focus on
1313 <img src="https://github.com/react-boilerplate/react-boilerplate-cra-template/workflows/build/badge.svg" alt="Build Status" />
1414 </a >
1515 <a href =" https://github.com/react-boilerplate/react-boilerplate-cra-template/actions?query=workflow%3Atests " >
16- <img src="https://github.com/react-boilerplate/react-boilerplate-cra-template/workflows/tests /badge.svg" alt="Tests Status" />
16+ <img src="https://github.com/react-boilerplate/react-boilerplate-cra-template/workflows/test /badge.svg" alt="Tests Status" />
1717 </a >
1818 <a href =" https://coveralls.io/github/react-boilerplate/react-boilerplate-cra-template " >
1919 <img src="https://coveralls.io/repos/github/react-boilerplate/react-boilerplate-cra-template/badge.svg?branch=master" alt="Coverage" />
You can’t perform that action at this time.
0 commit comments