Ensure article score recalculation for all vomit status changes (#20… #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create CI cache | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
install: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
cache: yarn | |
- run: yarn install --immutable | |
- name: cache compiled assets exist | |
uses: actions/cache@v4 | |
with: | |
fail-on-cache-miss: false | |
path: | | |
public/assets | |
key: ${{ runner.os }}-compiled-assets-v3-${{ hashFiles('app/assets/**', 'app/javascript/**', '**/package.json', '**/yarn.lock') }} | |
restore-keys: ${{ runner.os }}-compiled-assets-v3- | |
- run: bundle exec rails assets:precompile |