Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/3 create product category optional #6

Open
wants to merge 22 commits into
base: client-branch
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ jobs:
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0.0
- name: Set up Node
uses: actions/setup-node@v2
with:
node-version: 16.18.1
- name: Install and Activate Yarn
run: |
npm install -g yarn
yarn set version 1.22.19
- name: Run the default task
env:
PGHOST: localhost
Expand All @@ -33,6 +41,7 @@ jobs:
sudo apt-get -yqq install libpq-dev
gem install bundler -v 2.2.29
bundle install
cp config/database.yml.sample config/database.yml
bundle exec rails db:create
bundle exec rails db:migrate
bundle exec rails db:seed
Expand Down
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" }

ruby '3.0.0'

gem 'factory_bot_rails'
gem 'ffaker'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 6.0.4', '>= 6.0.4.8'
# Use postgresql as the database for Active Record
Expand Down Expand Up @@ -35,8 +37,6 @@ group :development, :test do
gem 'byebug', platforms: %i[mri mingw x64_mingw]
gem 'pry-byebug'
gem 'rspec-rails'
gem 'ffaker'
gem 'factory_bot_rails'
gem 'solargraph'
end

Expand Down
Loading
Loading