8
8
matrix :
9
9
include :
10
10
# Normal CI test runs :D
11
- - node_js : " 10 "
11
+ - node_js : " 14 "
12
12
13
- - node_js : " 10 "
13
+ - node_js : " 14 "
14
14
after_script :
15
15
- echo "Validating TypeScript definition file"
16
16
- yarn build
@@ -23,13 +23,13 @@ matrix:
23
23
- yarn flow check
24
24
25
25
# Checks every example dangerfile can run in `danger runner`.
26
- - node_js : " 10 "
26
+ - node_js : " 14 "
27
27
script :
28
28
- yarn build
29
29
- node scripts/run-fixtures.js
30
30
31
31
# Runs both the CI and PR with a custom process to ensure apps like swift/rust work
32
- - node_js : " 10.13 "
32
+ - node_js : " 14 "
33
33
script :
34
34
- yarn build
35
35
- node distribution/commands/danger-ci.js --process "ruby scripts/danger_runner.rb"
@@ -61,36 +61,11 @@ matrix:
61
61
- echo "Validating that danger pr works as expected"
62
62
- DEBUG="*" danger pr https://github.com/danger/danger-js/pull/465 --dangerfile dangerfile.circle.js --verbose
63
63
64
- - echo "Grabbing master so that danger-local can use it for comparison"
65
- - git checkout -t origin/master || true
64
+ - echo "Grabbing main so that danger-local can use it for comparison"
65
+ - git checkout -t origin/main || true
66
66
- ' [ ! -z $TRAVIS_PULL_REQUEST ] && DEBUG="*" danger local --dangerfile
67
67
source/platforms/git/_tests/local_dangerfile_example.ts || echo "Skipping Danger Local for non PR run"'
68
68
69
- # Create some fake projects at runtime
70
- - node_js : " 10.16"
71
- script :
72
- - echo "This is only for Integration tests on two blank projects"
73
- - yarn build
74
- - mkdir danger_blank_test
75
- - cd danger_blank_test
76
- - yarn init --yes
77
- - yarn add file:..
78
- - echo "warn('I warned you')" > dangerfile.js
79
- - echo "Testing a blank Dangerfile on an empty project"
80
- - DEBUG="*" yarn danger run --text-only
81
- - cd ..
82
- - rm -rf danger_blank_test
83
-
84
- - npm install -g create-react-app
85
- - create-react-app danger_babel_test
86
- - cd danger_babel_test
87
- - yarn add file:..
88
- - echo "warn('Expect 2 warnings'); const a = async () => {warn('the other');}; schedule(a)" > dangerfile.js
89
- - echo "Testing a blank Dangerfile on a babel CRA project"
90
- - DEBUG="*" yarn danger ci --text-only
91
- - cd ..
92
- - rm -rf danger_babel_test
93
-
94
69
script :
95
70
- yarn lint
96
71
- yarn add jest
0 commit comments