File tree 2 files changed +5
-32
lines changed 2 files changed +5
-32
lines changed Original file line number Diff line number Diff line change 18
18
node-version : 12.x
19
19
- run : yarn install --ignore-engines
20
20
- 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 }}
Original file line number Diff line number Diff line change 12
12
install :
13
13
- yarn install --ignore-engines
14
14
script :
15
- - yarn lint:nofix
16
15
- yarn coveralls
17
16
branches :
18
17
except :
19
18
- /^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
You can’t perform that action at this time.
0 commit comments