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 33name : Validate everything
44' on ' :
55 push :
6- branches :
7- - master
86 pull_request_target :
97 types :
108 - labeled
@@ -218,6 +216,8 @@ jobs:
218216 run : yarn --cwd ui/frontend/ test
219217 - name : Lint
220218 run : yarn --cwd ui/frontend/ test:lint
219+ - name : Style
220+ run : yarn --cwd ui/frontend/ test:style
221221 - name : Build frontend
222222 run : yarn --cwd ui/frontend/ run build:production
223223 - name : Save frontend artifact
@@ -243,9 +243,9 @@ jobs:
243243 with :
244244 ref : " ${{ github.event.pull_request.head.sha }}"
245245 - name : Configure Ruby
246- uses : actions /setup-ruby@v1
246+ uses : ruby /setup-ruby@v1
247247 with :
248- ruby-version : ' 2.7 '
248+ ruby-version : 3.0.2
249249 - name : Cache bundler intermediate products
250250 uses : actions/cache@v2
251251 with :
Original file line number Diff line number Diff line change 11# frozen_string_literal: true
22source "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:
218218
219219 ' on ' :
220220 push :
221- branches :
222- - master
223221 pull_request_target :
224222 types : [labeled]
225223 branches :
@@ -368,9 +366,9 @@ workflows:
368366 - *checkout_pr
369367
370368 - name : " Configure Ruby"
371- uses : actions /setup-ruby@v1
369+ uses : ruby /setup-ruby@v1
372370 with :
373- ruby-version : ' 2.7 '
371+ ruby-version : ' 3.0.2 '
374372
375373 - name : " Cache bundler intermediate products"
376374 uses : actions/cache@v2
Original file line number Diff line number Diff line change 11# frozen_string_literal: true
2- source " https://rubygems.org"
3- ruby "2.7.4"
2+ source ' https://rubygems.org'
3+ ruby '3.0.2'
44
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 33 specs:
44 addressable (2.8.0 )
55 public_suffix (>= 2.0.2 , < 5.0 )
6- capybara (3.35.3 )
6+ capybara (3.36.0 )
77 addressable
8+ matrix
89 mini_mime (>= 0.1.3 )
910 nokogiri (~> 1.8 )
1011 rack (>= 1.6.0 )
1415 capybara-screenshot (1.0.25 )
1516 capybara (>= 1.0 , < 4 )
1617 launchy
17- childprocess (3.0 .0 )
18+ childprocess (4.1 .0 )
1819 diff-lcs (1.4.4 )
1920 launchy (2.5.0 )
2021 addressable (~> 2.7 )
21- mini_mime (1.1.1 )
22+ matrix (0.4.2 )
23+ mini_mime (1.1.2 )
2224 mini_portile2 (2.6.1 )
23- nokogiri (1.12.4 )
25+ nokogiri (1.12.5 )
2426 mini_portile2 (~> 2.6.1 )
2527 racc (~> 1.4 )
2628 public_suffix (4.0.6 )
27- racc (1.5.2 )
29+ racc (1.6.0 )
2830 rack (2.2.3 )
2931 rack-test (1.1.0 )
3032 rack (>= 1.0 , < 3 )
3133 regexp_parser (2.1.1 )
34+ rexml (3.2.5 )
3235 rspec (3.10.0 )
3336 rspec-core (~> 3.10.0 )
3437 rspec-expectations (~> 3.10.0 )
4144 rspec-mocks (3.10.2 )
4245 diff-lcs (>= 1.2.0 , < 2.0 )
4346 rspec-support (~> 3.10.0 )
44- rspec-support (3.10.2 )
47+ rspec-support (3.10.3 )
4548 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 )
4852 rubyzip (>= 1.2.2 )
49- webdrivers (4.6.1 )
53+ webdrivers (5.0.0 )
5054 nokogiri (~> 1.6 )
5155 rubyzip (>= 1.3.0 )
52- selenium-webdriver (>= 3.0 , < 4.0 )
56+ selenium-webdriver (~> 4.0 )
5357 xpath (3.2.0 )
5458 nokogiri (~> 1.8 )
5559
5660PLATFORMS
5761 ruby
5862
5963DEPENDENCIES
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 )
6569
6670RUBY VERSION
67- ruby 2.7.4p191
71+ ruby 3.0.2p107
6872
6973BUNDLED WITH
70- 2.1.4
74+ 2.2.30
Original file line number Diff line number Diff line change 4242 options = { }
4343 options [ :log_level ] = :trace if capture_js_log
4444
45- browser_options = ::Selenium ::WebDriver ::Firefox ::Options . new ( options )
45+ browser_options = ::Selenium ::WebDriver ::Firefox ::Options . new ( ** options )
4646 browser_options . headless! if ENV . fetch ( 'HEADLESS' , 'true' ) . casecmp? ( 'true' )
4747 browser_options . add_preference ( 'devtools.console.stdout.content' , true ) if capture_js_log
4848
4949 Capybara ::Selenium ::Driver . new (
5050 app ,
5151 browser : :firefox ,
52- options : browser_options ,
52+ capabilities : browser_options ,
5353 clear_local_storage : true ,
5454 clear_session_storage : true ,
5555 )
Original file line number Diff line number Diff line change 22 "extends" : [
33 " stylelint-config-standard" ,
44 " stylelint-config-css-modules" ,
5- " stylelint-config-idiomatic-order"
5+ " stylelint-config-idiomatic-order" ,
6+ " stylelint-config-prettier"
67 ],
78 "rules" : {
89 "value-keyword-case" : [" lower" , {
Original file line number Diff line number Diff line change @@ -13,9 +13,7 @@ $copied-duration: 1s ease-in-out;
1313
1414.text {
1515 opacity : 0 ;
16- transition :
17- visibility $copied-duration,
18- opacity $copied-duration,
16+ transition : visibility $copied-duration, opacity $copied-duration,
1917 color $copied-duration;
2018 visibility : hidden;
2119}
Original file line number Diff line number Diff line change 6767 "stylelint" : " ^13.12.0" ,
6868 "stylelint-config-css-modules" : " ^2.2.0" ,
6969 "stylelint-config-idiomatic-order" : " ^8.1.0" ,
70+ "stylelint-config-prettier" : " ^9.0.3" ,
7071 "stylelint-config-standard" : " ^22.0.0" ,
7172 "ts-jest" : " ^27.0.0" ,
7273 "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:
61366136 dependencies :
61376137 stylelint-order "^3.1.1"
61386138
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+
61396144stylelint-config-recommended@^5.0.0 :
61406145 version "5.0.0"
61416146 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