Skip to content
Merged
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
20 changes: 5 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,26 +39,16 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: '20'

- name: Find yarn cache location
id: yarn-cache
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT

- name: JS package cache
uses: actions/cache@v4
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
cache: 'yarn'
cache-dependency-path: yarn.lock

- name: Install packages
run: |
yarn install --pure-lockfile
run: yarn install --frozen-lockfile

- name: Build JS and CSS assets
run: |
bin/rails javascript:build
bin/rails css:build
bin/rails tailwindcss:build

- name: Setup database
env:
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
nodejs 20.9.0
nodejs 22.15.1
ruby 3.4.7
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ gem 'active_storage_validations', '~> 1.0' # Active Storage gems for validating
gem 'aws-sdk-s3', '~> 1.208', require: false # Official AWS Ruby gem for Amazon S3
gem 'bootsnap', require: false # Reduces boot times through caching; required in config/boot.rb
gem 'cancancan', '~> 3.4' # Authorization library which restricts what resources a given user is allowed to access
gem 'cssbundling-rails' # Bundle and process CSS [https://github.com/rails/cssbundling-rails]
gem 'devise' # Devise 4.0 works with Rails 4.1 onwards.
gem 'geocoder', '~> 1.8' # Complete geocoding solution for Ruby
gem 'tailwindcss-rails' # Use Tailwind via Rails asset pipeline
# OAuth integration
gem 'omniauth'
gem 'omniauth-github'
Expand Down
Loading
Loading