File tree Expand file tree Collapse file tree 4 files changed +199
-197
lines changed
Expand file tree Collapse file tree 4 files changed +199
-197
lines changed Original file line number Diff line number Diff line change 11language : node_js
22node_js :
3- - " 12 "
3+ - " lts/* "
44cache : yarn
5- deploy :
6- local_dir : .docs
7- provider : pages
8- skip_cleanup : true
9- github_token : $GITHUB_TOKEN # Set on travis-ci.org dashboard
10- on :
11- branch : master
12- condition : ' "$TRAVIS_JOB_NUMBER" == *.1'
13- script :
14- - " (yarn lint && yarn test --ci --coverage) || travis_terminate"
15- - ' if [[ "$TRAVIS_JOB_NUMBER" == *.1 ]]; then yarn build:storybook || travis_terminate 1; fi'
16- - yarn release
17- after_success :
18- - bash <(curl -s https://codecov.io/bash)
5+ stages :
6+ - test
7+ - name : deploy
8+ if : branch = master
9+ - name : release
10+ if : branch = master AND type != pull_request
11+ jobs :
12+ include :
13+ - stage : test
14+ script :
15+ - yarn lint
16+ - yarn test --ci --coverage
17+ after_success :
18+ - bash <(curl -s https://codecov.io/bash)
19+ - stage : deploy
20+ script :
21+ - yarn build
22+ - yarn build:storybook
23+ deploy :
24+ local_dir : .docs
25+ provider : pages
26+ skip_cleanup : true
27+ github_token : $GH_TOKEN
28+ on :
29+ branch : master
30+ - stage : release
31+ script : skip
32+ deploy :
33+ provider : script
34+ skip_cleanup : true
35+ script : yarn release
36+ on :
37+ branch : master
Original file line number Diff line number Diff line change 11The MIT License (MIT)
22
3- Copyright (c) 2017 @researchgate/react-intersection-list authors
3+ Copyright (c) @researchgate/react-intersection-list authors
44
55Permission is hereby granted, free of charge, to any person obtaining a copy
66of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change 6868 "testURL" : " http://localhost/"
6969 },
7070 "prettier" : " @researchgate/prettier-config" ,
71- "resolutions" : {
72- "serialize-javascript" : " 3.1.0"
73- },
7471 "spire" : {
7572 "extends" : [
7673 [
You can’t perform that action at this time.
0 commit comments