File tree 4 files changed +28
-25
lines changed
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@v3
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@v3
24
+ with :
25
+ fail_ci_if_error : true
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ list.remove(...)
21
21
22
22
[ ![ License] ( https://img.shields.io/github/license/data-structures-and-algorithms/skip-list.svg )] ( https://raw.githubusercontent.com/data-structures-and-algorithms/skip-list/main/LICENSE )
23
23
[ ![ Version] ( https://img.shields.io/npm/v/@data-structure/skip-list.svg )] ( https://www.npmjs.org/package/@data-structure/skip-list )
24
- [ ![ Build ] ( https://img.shields.io/travis/ data-structures-and-algorithms/skip-list/main.svg )] ( https://travis-ci .com/data-structures-and-algorithms/skip-list/branches )
24
+ [ ![ Tests ] ( https://img.shields.io/github/workflow/status/ data-structures-and-algorithms/skip-list/ci:test?event=push&label=tests )] ( https://github .com/data-structures-and-algorithms/skip-list/actions/workflows/ci:test.yml?query=branch:main )
25
25
[ ![ Dependencies] ( https://img.shields.io/librariesio/github/data-structures-and-algorithms/skip-list.svg )] ( https://github.com/data-structures-and-algorithms/skip-list/network/dependencies )
26
26
[ ![ GitHub issues] ( https://img.shields.io/github/issues/data-structures-and-algorithms/skip-list.svg )] ( https://github.com/data-structures-and-algorithms/skip-list/issues )
27
27
[ ![ Downloads] ( https://img.shields.io/npm/dm/@data-structure/skip-list.svg )] ( https://www.npmjs.org/package/@data-structure/skip-list )
Original file line number Diff line number Diff line change 47
47
"build" : " NODE_ENV=production microbundle" ,
48
48
"build-docs" : " esdoc" ,
49
49
"build-gh-pages" : " npm run build-docs" ,
50
+ "ci:test" : " npm run lint-config && npm run lint && npm run cover" ,
50
51
"commit-msg" : " commitlint --edit" ,
51
52
"cover" : " NODE_ENV=cover c8 --all --src src --reporter lcov --reporter text-summary --reporter text npm test" ,
52
53
"debug" : " NODE_ENV=debug npm run test -- -st --fail-fast" ,
62
63
"prepare" : " npm run build" ,
63
64
"prepublishOnly" : " pinst --disable" ,
64
65
"release" : " np --message ':hatching_chick: release: Bumping to v%s.'" ,
65
- "test" : " ava" ,
66
- "travis" : " npm run lint-config && npm run lint && npm run cover"
66
+ "test" : " ava"
67
67
},
68
68
"dependencies" : {
69
69
"@iterable-iterator/cardinality" : " ^4.0.0" ,
You can’t perform that action at this time.
0 commit comments