Skip to content

Commit c141e3e

Browse files
author
TomFern
committed
Update Semaphore configuration
1 parent b6ce0d8 commit c141e3e

File tree

1 file changed

+11
-16
lines changed

1 file changed

+11
-16
lines changed

.semaphore/semaphore.yml

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,10 @@ blocks:
1111
jobs:
1212
- name: bundle
1313
commands:
14+
- sem-version ruby 2.7.3
15+
- sem-version node 14.16.1
1416
- checkout
1517
- 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'
2018
- bundle install
2119
- cache store
2220
- name: Code scanning
@@ -26,13 +24,12 @@ blocks:
2624
jobs:
2725
- name: check style + security
2826
commands:
27+
- sem-version ruby 2.7.3
28+
- sem-version node 14.16.1
2929
- checkout
3030
- 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'
3531
- bundle install
32+
- cache store
3633
- bundle exec rubocop
3734
- bundle exec brakeman
3835
- name: Unit tests
@@ -41,13 +38,12 @@ blocks:
4138
task:
4239
prologue:
4340
commands:
41+
- sem-version ruby 2.7.3
42+
- sem-version node 14.16.1
4443
- checkout
4544
- 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'
5045
- bundle install
46+
- cache store
5147
- sem-service start postgres
5248
- 'bundle exec rake db:setup'
5349
jobs:
@@ -63,13 +59,12 @@ blocks:
6359
task:
6460
prologue:
6561
commands:
62+
- sem-version ruby 2.7.3
63+
- sem-version node 14.16.1
6664
- checkout
6765
- 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'
7266
- bundle install
67+
- cache store
7368
jobs:
7469
- name: RSpec - feature specs
7570
commands:

0 commit comments

Comments
 (0)