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 : ci:test
2+ on :
3+ - push
4+ - pull_request
5+ jobs :
6+ test :
7+ name : Continuous integration (tests)
8+ runs-on : ubuntu-latest
9+ steps :
10+ - name : Checkout 🛎️
11+ uses : actions/checkout@v2
12+
13+ - name : Install 🔧
14+ uses : bahmutov/npm-install@v1
15+ with :
16+ install-command : yarn --frozen-lockfile --ignore-scripts
17+ useRollingCache : true
18+
19+ - name : Test 🔬
20+ run : yarn ci:test
21+
22+ - name : Publish coverage report 📃
23+ uses : codecov/codecov-action@v2
24+ with :
25+ fail_ci_if_error : true
Load diff This file was deleted.
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ rotl32(1, 1); // 2
1313
1414[ ![ License] ( https://img.shields.io/github/license/arithmetic-type/uint32.svg )] ( https://raw.githubusercontent.com/arithmetic-type/uint32/main/LICENSE )
1515[ ![ Version] ( https://img.shields.io/npm/v/@arithmetic-type/uint32.svg )] ( https://www.npmjs.org/package/@arithmetic-type/uint32 )
16- [ ![ Build ] ( https://img.shields.io/travis/ arithmetic-type/uint32/main.svg )] ( https://travis-ci .com/arithmetic-type/uint32/branches )
16+ [ ![ Tests ] ( https://img.shields.io/github/workflow/status/ arithmetic-type/uint32/ci:test?event=push&label=tests )] ( https://github .com/arithmetic-type/uint32/actions/workflows/ci:test.yml?query=branch:main )
1717[ ![ Dependencies] ( https://img.shields.io/david/arithmetic-type/uint32.svg )] ( https://david-dm.org/arithmetic-type/uint32 )
1818[ ![ Dev dependencies] ( https://img.shields.io/david/dev/arithmetic-type/uint32.svg )] ( https://david-dm.org/arithmetic-type/uint32?type=dev )
1919[ ![ GitHub issues] ( https://img.shields.io/github/issues/arithmetic-type/uint32.svg )] ( https://github.com/arithmetic-type/uint32/issues )
Original file line number Diff line number Diff line change 4444 "build" : " NODE_ENV=production microbundle" ,
4545 "build-docs" : " esdoc" ,
4646 "build-gh-pages" : " npm run build-docs" ,
47+ "ci:test" : " npm run lint-config && npm run lint && npm run cover" ,
4748 "commit-msg" : " commitlint --edit" ,
4849 "cover" : " NODE_ENV=cover c8 --all --src src --reporter lcov --reporter text-summary --reporter text npm test" ,
4950 "debug" : " NODE_ENV=debug npm run test -- -st --fail-fast" ,
5960 "prepare" : " npm run build" ,
6061 "prepublishOnly" : " pinst --disable" ,
6162 "release" : " np --message ':hatching_chick: release: Bumping to v%s.'" ,
62- "test" : " ava" ,
63- "travis" : " npm run lint-config && npm run lint && npm run cover"
63+ "test" : " ava"
6464 },
6565 "dependencies" : {},
6666 "devDependencies" : {
You can’t perform that action at this time.
0 commit comments