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 @@ -17,7 +17,7 @@ for await ( const character of tape ) ... ;
17
17
18
18
[ ![ License] ( https://img.shields.io/github/license/async-abstraction/tape.svg )] ( https://raw.githubusercontent.com/async-abstraction/tape/main/LICENSE )
19
19
[ ![ Version] ( https://img.shields.io/npm/v/@async-abstraction/tape.svg )] ( https://www.npmjs.org/package/@async-abstraction/tape )
20
- [ ![ Build ] ( https://img.shields.io/travis/ async-abstraction/tape/main.svg )] ( https://travis-ci .com/async-abstraction/tape/branches )
20
+ [ ![ Tests ] ( https://img.shields.io/github/workflow/status/ async-abstraction/tape/ci:test?event=push&label=tests )] ( https://github .com/async-abstraction/tape/actions/workflows/ci:test.yml?query=branch:main )
21
21
[ ![ Dependencies] ( https://img.shields.io/david/async-abstraction/tape.svg )] ( https://david-dm.org/async-abstraction/tape )
22
22
[ ![ Dev dependencies] ( https://img.shields.io/david/dev/async-abstraction/tape.svg )] ( https://david-dm.org/async-abstraction/tape?type=dev )
23
23
[ ![ GitHub issues] ( https://img.shields.io/github/issues/async-abstraction/tape.svg )] ( https://github.com/async-abstraction/tape/issues )
Original file line number Diff line number Diff line change 42
42
"build" : " NODE_ENV=production microbundle" ,
43
43
"build-docs" : " esdoc" ,
44
44
"build-gh-pages" : " npm run build-docs" ,
45
+ "ci:test" : " npm run lint-config && npm run lint && npm run cover" ,
45
46
"commit-msg" : " commitlint --edit" ,
46
47
"cover" : " NODE_ENV=cover c8 --all --src src --reporter lcov --reporter text-summary --reporter text npm test" ,
47
48
"debug" : " NODE_ENV=debug npm run test -- -st --fail-fast" ,
57
58
"prepare" : " npm run build" ,
58
59
"prepublishOnly" : " pinst --disable" ,
59
60
"release" : " np --message ':hatching_chick: release: Bumping to v%s.'" ,
60
- "test" : " ava" ,
61
- "travis" : " npm run lint-config && npm run lint && npm run cover"
61
+ "test" : " ava"
62
62
},
63
63
"dependencies" : {},
64
64
"devDependencies" : {
You can’t perform that action at this time.
0 commit comments