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@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 @@ -7,7 +7,7 @@ Parent is [js-sorting](https://github.com/make-github-pseudonymous-again/js-sort
7
7
8
8
[ ![ License] ( https://img.shields.io/github/license/integer-sorting/radix-sort.svg )] ( https://raw.githubusercontent.com/integer-sorting/radix-sort/main/LICENSE )
9
9
[ ![ Version] ( https://img.shields.io/npm/v/@integer-sorting/radix-sort.svg )] ( https://www.npmjs.org/package/@integer-sorting/radix-sort )
10
- [ ![ Build ] ( https://img.shields.io/travis/ integer-sorting/radix-sort/main.svg )] ( https://travis-ci .com/integer-sorting/radix-sort/branches )
10
+ [ ![ Tests ] ( https://img.shields.io/github/workflow/status/ integer-sorting/radix-sort/ci:test?event=push&label=tests )] ( https://github .com/integer-sorting/radix-sort/actions/workflows/ci:test.yml?query=branch:main )
11
11
[ ![ Dependencies] ( https://img.shields.io/librariesio/github/integer-sorting/radix-sort.svg )] ( https://github.com/integer-sorting/radix-sort/network/dependencies )
12
12
[ ![ GitHub issues] ( https://img.shields.io/github/issues/integer-sorting/radix-sort.svg )] ( https://github.com/integer-sorting/radix-sort/issues )
13
13
[ ![ Downloads] ( https://img.shields.io/npm/dm/@integer-sorting/radix-sort.svg )] ( https://www.npmjs.org/package/@integer-sorting/radix-sort )
Original file line number Diff line number Diff line change 48
48
"build" : " NODE_ENV=production microbundle" ,
49
49
"build-docs" : " esdoc" ,
50
50
"build-gh-pages" : " npm run build-docs" ,
51
+ "ci:test" : " npm run lint-config && npm run lint && npm run cover" ,
51
52
"commit-msg" : " commitlint --edit" ,
52
53
"cover" : " NODE_ENV=cover c8 --all --src src --reporter lcov --reporter text-summary --reporter text npm test" ,
53
54
"debug" : " NODE_ENV=debug npm run test -- -st --fail-fast" ,
63
64
"prepare" : " npm run build" ,
64
65
"prepublishOnly" : " pinst --disable" ,
65
66
"release" : " np --message ':hatching_chick: release: Bumping to v%s.'" ,
66
- "test" : " ava" ,
67
- "travis" : " npm run lint-config && npm run lint && npm run cover"
67
+ "test" : " ava"
68
68
},
69
69
"dependencies" : {
70
70
"@combinatorics/permutation" : " ^4.0.0"
You can’t perform that action at this time.
0 commit comments