Skip to content

Commit 47f5ec2

Browse files
committed
ci: Just keep coveralls for travis
1 parent f1b6e93 commit 47f5ec2

File tree

2 files changed

+5
-32
lines changed

2 files changed

+5
-32
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ jobs:
1818
node-version: 12.x
1919
- run: yarn install --ignore-engines
2020
- run: yarn lint:nofix
21-
- run: yarn coveralls
22-
env:
23-
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
24-
COVERALLS_GIT_BRANCH: ${{ github.ref }}
21+
# 💀💀💀💀cannot run coveralls since GH won't pass COVERALLS_REPO_TOKEN to forks; so any PRs from external contributors would fail
22+
# - run: yarn coveralls
23+
# env:
24+
# COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
25+
# COVERALLS_GIT_BRANCH: ${{ github.ref }}

.travis.yml

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -12,35 +12,7 @@ jobs:
1212
install:
1313
- yarn install --ignore-engines
1414
script:
15-
- yarn lint:nofix
1615
- yarn coveralls
1716
branches:
1817
except:
1918
- /^v\d+\.\d+\.\d+$/
20-
# Define the release stage that runs semantic-release
21-
- stage: release
22-
if: (NOT type IN (pull_request)) AND (branch = master)
23-
node_js: '10'
24-
# overwrite default `script` step to skip the tests
25-
script: echo "Deploying to npm ..."
26-
deploy:
27-
provider: script
28-
skip_cleanup: true
29-
script:
30-
- npx semantic-release
31-
- stage: docs
32-
if: (NOT type IN (pull_request)) AND (branch = develop)
33-
node_js: '10'
34-
# un-ignore bundle.js
35-
before_deploy: mv docs/.gitignore .gitignore
36-
# overwrite default `script` step to skip the tests
37-
script: yarn build:docs
38-
deploy:
39-
provider: pages
40-
skip-cleanup: true
41-
github-token: $GH_PAGES_TOKEN # Set in the settings page of the repository, as a secure variable
42-
keep-history: true
43-
local-dir: docs
44-
verbose: true
45-
on:
46-
branch: develop

0 commit comments

Comments
 (0)