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