@@ -11,12 +11,10 @@ blocks:
11
11
jobs :
12
12
- name : bundle
13
13
commands :
14
+ - sem-version ruby 2.7.3
15
+ - sem-version node 14.16.1
14
16
- checkout
15
17
- cache restore
16
- - sem-version ruby 2.7.3
17
- - bundle config --global jobs 4
18
- - bundle config set deployment 'true'
19
- - bundle config set path 'vendor/bundle'
20
18
- bundle install
21
19
- cache store
22
20
- name : Code scanning
@@ -26,13 +24,12 @@ blocks:
26
24
jobs :
27
25
- name : check style + security
28
26
commands :
27
+ - sem-version ruby 2.7.3
28
+ - sem-version node 14.16.1
29
29
- checkout
30
30
- cache restore
31
- - sem-version ruby 2.7.3
32
- - bundle config --global jobs 4
33
- - bundle config set deployment 'true'
34
- - bundle config set path 'vendor/bundle'
35
31
- bundle install
32
+ - cache store
36
33
- bundle exec rubocop
37
34
- bundle exec brakeman
38
35
- name : Unit tests
@@ -41,13 +38,12 @@ blocks:
41
38
task :
42
39
prologue :
43
40
commands :
41
+ - sem-version ruby 2.7.3
42
+ - sem-version node 14.16.1
44
43
- checkout
45
44
- cache restore
46
- - sem-version ruby 2.7.3
47
- - bundle config --global jobs 4
48
- - bundle config set deployment 'true'
49
- - bundle config set path 'vendor/bundle'
50
45
- bundle install
46
+ - cache store
51
47
- sem-service start postgres
52
48
- ' bundle exec rake db:setup'
53
49
jobs :
@@ -63,13 +59,12 @@ blocks:
63
59
task :
64
60
prologue :
65
61
commands :
62
+ - sem-version ruby 2.7.3
63
+ - sem-version node 14.16.1
66
64
- checkout
67
65
- cache restore
68
- - sem-version ruby 2.7.3
69
- - bundle config --global jobs 4
70
- - bundle config set deployment 'true'
71
- - bundle config set path 'vendor/bundle'
72
66
- bundle install
67
+ - cache store
73
68
jobs :
74
69
- name : RSpec - feature specs
75
70
commands :
0 commit comments