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@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 @@ -14,7 +14,7 @@ for ( let value of list ) ... ;
14
14
15
15
[ ![ License] ( https://img.shields.io/github/license/list-abstraction/doubly-linked-list.svg )] ( https://raw.githubusercontent.com/list-abstraction/doubly-linked-list/main/LICENSE )
16
16
[ ![ Version] ( https://img.shields.io/npm/v/@list-abstraction/doubly-linked-list.svg )] ( https://www.npmjs.org/package/@list-abstraction/doubly-linked-list )
17
- [ ![ Build ] ( https://img.shields.io/travis/ list-abstraction/doubly-linked-list/main.svg )] ( https://travis-ci .com/list-abstraction/doubly-linked-list/branches )
17
+ [ ![ Tests ] ( https://img.shields.io/github/workflow/status/ list-abstraction/doubly-linked-list/ci:test?event=push&label=tests )] ( https://github .com/list-abstraction/doubly-linked-list/actions/workflows/ci:test.yml?query=branch:main )
18
18
[ ![ Dependencies] ( https://img.shields.io/librariesio/github/list-abstraction/doubly-linked-list.svg )] ( https://github.com/list-abstraction/doubly-linked-list/network/dependencies )
19
19
[ ![ GitHub issues] ( https://img.shields.io/github/issues/list-abstraction/doubly-linked-list.svg )] ( https://github.com/list-abstraction/doubly-linked-list/issues )
20
20
[ ![ Downloads] ( https://img.shields.io/npm/dm/@list-abstraction/doubly-linked-list.svg )] ( https://www.npmjs.org/package/@list-abstraction/doubly-linked-list )
Original file line number Diff line number Diff line change 52
52
"build" : " NODE_ENV=production microbundle" ,
53
53
"build-docs" : " esdoc" ,
54
54
"build-gh-pages" : " npm run build-docs" ,
55
+ "ci:test" : " npm run lint-config && npm run lint && npm run cover" ,
55
56
"commit-msg" : " commitlint --edit" ,
56
57
"cover" : " NODE_ENV=cover c8 --all --src src --reporter lcov --reporter text-summary --reporter text npm test" ,
57
58
"debug" : " NODE_ENV=debug npm run test -- -st --fail-fast" ,
67
68
"prepare" : " npm run build" ,
68
69
"prepublishOnly" : " pinst --disable" ,
69
70
"release" : " np --message ':hatching_chick: release: Bumping to v%s.'" ,
70
- "test" : " ava" ,
71
- "travis" : " npm run lint-config && npm run lint && npm run cover"
71
+ "test" : " ava"
72
72
},
73
73
"dependencies" : {},
74
74
"devDependencies" : {
You can’t perform that action at this time.
0 commit comments