File tree Expand file tree Collapse file tree 4 files changed +28
-25
lines changed Expand file tree Collapse file tree 4 files changed +28
-25
lines changed 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@v1
24+ with :
25+ fail_ci_if_error : true
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ nextFloat64(prng); // A random double in the range [0, 1[.
2828
2929[ ![ License] ( https://img.shields.io/github/license/make-github-pseudonymous-again/js-pseudo-random.svg )] ( https://raw.githubusercontent.com/make-github-pseudonymous-again/js-pseudo-random/main/LICENSE )
3030[ ![ Version] ( https://img.shields.io/npm/v/@aureooms/js-pseudo-random.svg )] ( https://www.npmjs.org/package/@aureooms/js-pseudo-random )
31- [ ![ Build ] ( https://img.shields.io/travis/ make-github-pseudonymous-again/js-pseudo-random/main.svg )] ( https://travis-ci .com/make-github-pseudonymous-again/js-pseudo-random/branches )
31+ [ ![ Tests ] ( https://img.shields.io/github/workflow/status/ make-github-pseudonymous-again/js-pseudo-random/ci:test?event=push&label=tests )] ( https://github .com/make-github-pseudonymous-again/js-pseudo-random/actions/workflows/ci:test.yml?query=branch:main )
3232[ ![ Dependencies] ( https://img.shields.io/david/make-github-pseudonymous-again/js-pseudo-random.svg )] ( https://david-dm.org/make-github-pseudonymous-again/js-pseudo-random )
3333[ ![ Dev dependencies] ( https://img.shields.io/david/dev/make-github-pseudonymous-again/js-pseudo-random.svg )] ( https://david-dm.org/make-github-pseudonymous-again/js-pseudo-random?type=dev )
3434[ ![ GitHub issues] ( https://img.shields.io/github/issues/make-github-pseudonymous-again/js-pseudo-random.svg )] ( https://github.com/make-github-pseudonymous-again/js-pseudo-random/issues )
Original file line number Diff line number Diff line change 4646 "build" : " NODE_ENV=production microbundle" ,
4747 "build-docs" : " esdoc" ,
4848 "build-gh-pages" : " npm run build-docs" ,
49+ "ci:test" : " npm run lint-config && npm run lint && npm run cover" ,
4950 "commit-msg" : " commitlint --edit" ,
5051 "cover" : " NODE_ENV=cover c8 --all --src src --reporter lcov --reporter text-summary --reporter text npm test" ,
5152 "debug" : " NODE_ENV=debug npm run test -- -st --fail-fast" ,
6162 "prepare" : " npm run build" ,
6263 "prepublishOnly" : " pinst --disable" ,
6364 "release" : " np --message ':hatching_chick: release: Bumping to v%s.'" ,
64- "test" : " ava" ,
65- "travis" : " npm run lint-config && npm run lint && npm run cover"
65+ "test" : " ava"
6666 },
6767 "dependencies" : {
6868 "@arithmetic-type/uint64" : " ^4.0.0"
You can’t perform that action at this time.
0 commit comments