File tree Expand file tree Collapse file tree 10 files changed +46
-39
lines changed Expand file tree Collapse file tree 10 files changed +46
-39
lines changed Original file line number Diff line number Diff line change 3
3
name : Validate everything
4
4
' on ' :
5
5
push :
6
- branches :
7
- - master
8
6
pull_request_target :
9
7
types :
10
8
- labeled
@@ -218,6 +216,8 @@ jobs:
218
216
run : yarn --cwd ui/frontend/ test
219
217
- name : Lint
220
218
run : yarn --cwd ui/frontend/ test:lint
219
+ - name : Style
220
+ run : yarn --cwd ui/frontend/ test:style
221
221
- name : Build frontend
222
222
run : yarn --cwd ui/frontend/ run build:production
223
223
- name : Save frontend artifact
@@ -243,9 +243,9 @@ jobs:
243
243
with :
244
244
ref : " ${{ github.event.pull_request.head.sha }}"
245
245
- name : Configure Ruby
246
- uses : actions /setup-ruby@v1
246
+ uses : ruby /setup-ruby@v1
247
247
with :
248
- ruby-version : ' 2.7 '
248
+ ruby-version : 3.0.2
249
249
- name : Cache bundler intermediate products
250
250
uses : actions/cache@v2
251
251
with :
Original file line number Diff line number Diff line change 1
1
# frozen_string_literal: true
2
2
source "https://rubygems.org"
3
- ruby "2.7 .2"
3
+ ruby "3.0 .2"
Original file line number Diff line number Diff line change @@ -218,8 +218,6 @@ workflows:
218
218
219
219
' on ' :
220
220
push :
221
- branches :
222
- - master
223
221
pull_request_target :
224
222
types : [labeled]
225
223
branches :
@@ -368,9 +366,9 @@ workflows:
368
366
- *checkout_pr
369
367
370
368
- name : " Configure Ruby"
371
- uses : actions /setup-ruby@v1
369
+ uses : ruby /setup-ruby@v1
372
370
with :
373
- ruby-version : ' 2.7 '
371
+ ruby-version : ' 3.0.2 '
374
372
375
373
- name : " Cache bundler intermediate products"
376
374
uses : actions/cache@v2
Original file line number Diff line number Diff line change 1
1
# frozen_string_literal: true
2
- source " https://rubygems.org"
3
- ruby "2.7.4"
2
+ source ' https://rubygems.org'
3
+ ruby '3.0.2'
4
4
5
- gem " capybara"
6
- gem " rspec"
7
- gem 'capybara-screenshot'
8
- gem 'selenium-webdriver'
9
- gem 'webdrivers'
5
+ gem ' capybara' , '~> 3.35'
6
+ gem ' rspec' , '~> 3.10'
7
+ gem 'capybara-screenshot' , '~> 1.0'
8
+ gem 'selenium-webdriver' , '~> 4.0'
9
+ gem 'webdrivers' , '~> 5.0'
Original file line number Diff line number Diff line change 3
3
specs:
4
4
addressable (2.8.0 )
5
5
public_suffix (>= 2.0.2 , < 5.0 )
6
- capybara (3.35.3 )
6
+ capybara (3.36.0 )
7
7
addressable
8
+ matrix
8
9
mini_mime (>= 0.1.3 )
9
10
nokogiri (~> 1.8 )
10
11
rack (>= 1.6.0 )
14
15
capybara-screenshot (1.0.25 )
15
16
capybara (>= 1.0 , < 4 )
16
17
launchy
17
- childprocess (3.0 .0 )
18
+ childprocess (4.1 .0 )
18
19
diff-lcs (1.4.4 )
19
20
launchy (2.5.0 )
20
21
addressable (~> 2.7 )
21
- mini_mime (1.1.1 )
22
+ matrix (0.4.2 )
23
+ mini_mime (1.1.2 )
22
24
mini_portile2 (2.6.1 )
23
- nokogiri (1.12.4 )
25
+ nokogiri (1.12.5 )
24
26
mini_portile2 (~> 2.6.1 )
25
27
racc (~> 1.4 )
26
28
public_suffix (4.0.6 )
27
- racc (1.5.2 )
29
+ racc (1.6.0 )
28
30
rack (2.2.3 )
29
31
rack-test (1.1.0 )
30
32
rack (>= 1.0 , < 3 )
31
33
regexp_parser (2.1.1 )
34
+ rexml (3.2.5 )
32
35
rspec (3.10.0 )
33
36
rspec-core (~> 3.10.0 )
34
37
rspec-expectations (~> 3.10.0 )
41
44
rspec-mocks (3.10.2 )
42
45
diff-lcs (>= 1.2.0 , < 2.0 )
43
46
rspec-support (~> 3.10.0 )
44
- rspec-support (3.10.2 )
47
+ rspec-support (3.10.3 )
45
48
rubyzip (2.3.2 )
46
- selenium-webdriver (3.142.7 )
47
- childprocess (>= 0.5 , < 4.0 )
49
+ selenium-webdriver (4.0.3 )
50
+ childprocess (>= 0.5 , < 5.0 )
51
+ rexml (~> 3.2 , >= 3.2.5 )
48
52
rubyzip (>= 1.2.2 )
49
- webdrivers (4.6.1 )
53
+ webdrivers (5.0.0 )
50
54
nokogiri (~> 1.6 )
51
55
rubyzip (>= 1.3.0 )
52
- selenium-webdriver (>= 3.0 , < 4.0 )
56
+ selenium-webdriver (~> 4.0 )
53
57
xpath (3.2.0 )
54
58
nokogiri (~> 1.8 )
55
59
56
60
PLATFORMS
57
61
ruby
58
62
59
63
DEPENDENCIES
60
- capybara
61
- capybara-screenshot
62
- rspec
63
- selenium-webdriver
64
- webdrivers
64
+ capybara ( ~> 3.35 )
65
+ capybara-screenshot ( ~> 1.0 )
66
+ rspec ( ~> 3.10 )
67
+ selenium-webdriver ( ~> 4.0 )
68
+ webdrivers ( ~> 5.0 )
65
69
66
70
RUBY VERSION
67
- ruby 2.7.4p191
71
+ ruby 3.0.2p107
68
72
69
73
BUNDLED WITH
70
- 2.1.4
74
+ 2.2.30
Original file line number Diff line number Diff line change 42
42
options = { }
43
43
options [ :log_level ] = :trace if capture_js_log
44
44
45
- browser_options = ::Selenium ::WebDriver ::Firefox ::Options . new ( options )
45
+ browser_options = ::Selenium ::WebDriver ::Firefox ::Options . new ( ** options )
46
46
browser_options . headless! if ENV . fetch ( 'HEADLESS' , 'true' ) . casecmp? ( 'true' )
47
47
browser_options . add_preference ( 'devtools.console.stdout.content' , true ) if capture_js_log
48
48
49
49
Capybara ::Selenium ::Driver . new (
50
50
app ,
51
51
browser : :firefox ,
52
- options : browser_options ,
52
+ capabilities : browser_options ,
53
53
clear_local_storage : true ,
54
54
clear_session_storage : true ,
55
55
)
Original file line number Diff line number Diff line change 2
2
"extends" : [
3
3
" stylelint-config-standard" ,
4
4
" stylelint-config-css-modules" ,
5
- " stylelint-config-idiomatic-order"
5
+ " stylelint-config-idiomatic-order" ,
6
+ " stylelint-config-prettier"
6
7
],
7
8
"rules" : {
8
9
"value-keyword-case" : [" lower" , {
Original file line number Diff line number Diff line change @@ -13,9 +13,7 @@ $copied-duration: 1s ease-in-out;
13
13
14
14
.text {
15
15
opacity : 0 ;
16
- transition :
17
- visibility $copied-duration,
18
- opacity $copied-duration,
16
+ transition : visibility $copied-duration, opacity $copied-duration,
19
17
color $copied-duration;
20
18
visibility : hidden;
21
19
}
Original file line number Diff line number Diff line change 67
67
"stylelint" : " ^13.12.0" ,
68
68
"stylelint-config-css-modules" : " ^2.2.0" ,
69
69
"stylelint-config-idiomatic-order" : " ^8.1.0" ,
70
+ "stylelint-config-prettier" : " ^9.0.3" ,
70
71
"stylelint-config-standard" : " ^22.0.0" ,
71
72
"ts-jest" : " ^27.0.0" ,
72
73
"ts-loader" : " ^9.2.3" ,
Original file line number Diff line number Diff line change @@ -6136,6 +6136,11 @@ stylelint-config-idiomatic-order@^8.1.0:
6136
6136
dependencies :
6137
6137
stylelint-order "^3.1.1"
6138
6138
6139
+ stylelint-config-prettier@^9.0.3 :
6140
+ version "9.0.3"
6141
+ resolved "https://registry.yarnpkg.com/stylelint-config-prettier/-/stylelint-config-prettier-9.0.3.tgz#0dccebeff359dcc393c9229184408b08964d561c"
6142
+ integrity sha512-5n9gUDp/n5tTMCq1GLqSpA30w2sqWITSSEiAWQlpxkKGAUbjcemQ0nbkRvRUa0B1LgD3+hCvdL7B1eTxy1QHJg==
6143
+
6139
6144
stylelint-config-recommended@^5.0.0 :
6140
6145
version "5.0.0"
6141
6146
resolved "https://registry.yarnpkg.com/stylelint-config-recommended/-/stylelint-config-recommended-5.0.0.tgz#fb5653f495a60b4938f2ad3e77712d9e1039ae78"
You can’t perform that action at this time.
0 commit comments