Skip to content

Bootstrapped Sinatra API, Vite/TS SPA and CI #1

Bootstrapped Sinatra API, Vite/TS SPA and CI

Bootstrapped Sinatra API, Vite/TS SPA and CI #1

Triggered via push May 16, 2026 18:56
Status Failure
Total duration 44s
Artifacts

ci.yml

on: push
Matrix: ruby
Matrix: web
Fit to window
Zoom out
Zoom in

Annotations

18 errors and 4 warnings
Web (Node 20)
Process completed with exit code 2.
Web (Node 20)
Property 'env' does not exist on type 'ImportMeta'.
Web (Node 22)
Process completed with exit code 2.
Web (Node 22)
Property 'env' does not exist on type 'ImportMeta'.
Ruby 3.3
Process completed with exit code 1.
Ruby 3.3: spec/random_data_generator/other_generator_spec.rb#L35
RSpec/ExpectActual: Provide the actual value you are testing to `expect(...)`.
Ruby 3.3: spec/api/app_spec.rb#L8
RSpec/SpecFilePathFormat: Spec path should end with `random_data_generator/api*_spec.rb`.
Ruby 3.3: random_data_generator.gemspec#L16
Gemspec/RequiredRubyVersion: `required_ruby_version` and `TargetRubyVersion` (3.2, which may be specified in .rubocop.yml) should be equal.
Ruby 3.3: lib/random_data_generator/other_generator.rb#L32
Metrics/AbcSize: Assignment Branch Condition size for `random_uuid` is too high. [<5, 20, 1> 20.64/17]
Ruby 3.3: api/app.rb#L43
Metrics/PerceivedComplexity: Perceived complexity for `int_param` is too high. [9/8]
Ruby 3.3: api/app.rb#L43
Metrics/CyclomaticComplexity: Cyclomatic complexity for `int_param` is too high. [9/7]
Ruby 3.2
Process completed with exit code 1.
Ruby 3.2: spec/random_data_generator/other_generator_spec.rb#L35
RSpec/ExpectActual: Provide the actual value you are testing to `expect(...)`.
Ruby 3.2: spec/api/app_spec.rb#L8
RSpec/SpecFilePathFormat: Spec path should end with `random_data_generator/api*_spec.rb`.
Ruby 3.2: random_data_generator.gemspec#L16
Gemspec/RequiredRubyVersion: `required_ruby_version` and `TargetRubyVersion` (3.2, which may be specified in .rubocop.yml) should be equal.
Ruby 3.2: lib/random_data_generator/other_generator.rb#L32
Metrics/AbcSize: Assignment Branch Condition size for `random_uuid` is too high. [<5, 20, 1> 20.64/17]
Ruby 3.2: api/app.rb#L43
Metrics/PerceivedComplexity: Perceived complexity for `int_param` is too high. [9/8]
Ruby 3.2: api/app.rb#L43
Metrics/CyclomaticComplexity: Cyclomatic complexity for `int_param` is too high. [9/7]
Web (Node 20)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Web (Node 22)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Ruby 3.3
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Ruby 3.2
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/