add an all-in-one script for running tests; format and fix some code; add ci.yml
CI / main-server (RSpec + audits) (push) Failing after 1m12s
CI / game-server (go vet + go test -race) (push) Successful in 1m1s
CI / frontend (build + tests) (push) Successful in 9s

This commit is contained in:
2026-11-29 16:46:27 +03:00
parent a91eccbeaa
commit e52178c929
14 changed files with 474 additions and 139 deletions
@@ -1,5 +1,5 @@
class Api::RegistrationsController < ApplicationController
skip_before_action :authenticate_request!, only: [:create]
skip_before_action :authenticate_request!, only: [ :create ]
def create
user = User.new(registration_params)
@@ -1,5 +1,5 @@
class Api::SessionsController < ApplicationController
skip_before_action :authenticate_request!, only: [:create]
skip_before_action :authenticate_request!, only: [ :create ]
def create
user = if params[:nickname].present? && params[:password].present?