Skip to content

Commit

Permalink
chore: upgrade storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
lifeiscontent committed Apr 21, 2024
1 parent f24bb16 commit 14d1ffb
Show file tree
Hide file tree
Showing 45 changed files with 12,885 additions and 28,962 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,11 @@ jobs:
POSTGRES_PASSWORD: postgres
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install dependent libraries
run: sudo apt-get install libpq-dev
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1.1
working-directory: ./api
bundler-cache: true
- name: Setup Database
Expand All @@ -35,7 +34,7 @@ jobs:
POSTGRES_PASSWORD: postgres

- name: Run RSpec
run: COVERAGE=true bin/rails spec
run: bundle exec rake
working-directory: ./api
env:
RAILS_ENV: test
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,14 @@ jobs:
working-directory: ./web
- run: npm run build
working-directory: ./web
- run: npm run test:ci
- run: npx playwright install --with-deps
working-directory: ./web
- run: npm run build-storybook -- --quiet
working-directory: ./web
- run: |
npx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \
"npx http-server storybook-static --port 6006 --silent" \
"npx wait-on http://127.0.0.1:6006 && npm run test-storybook"
working-directory: ./web
- name: Publish Storybook and run visual tests
if: github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]'
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
.DS_Store
.DS_Store
2 changes: 1 addition & 1 deletion api/.ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ruby-3.1.1
ruby-3.2.2
2 changes: 1 addition & 1 deletion api/.tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
ruby 3.1.1
ruby 3.2.2
postgres 12.9
2 changes: 1 addition & 1 deletion api/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ gem 'spring', group: :development
gem 'spring-watcher-listen', group: :development
gem 'tzinfo-data', platforms: %i[mingw mswin x64_mingw jruby]
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
ruby '3.1.1'
ruby '3.2.2'
source 'https://rubygems.org'
Loading

0 comments on commit 14d1ffb

Please sign in to comment.