Skip to content

Commit

Permalink
Add yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
lucas-shaw committed Jun 28, 2024
1 parent cc22676 commit 97440f8
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,22 @@ jobs:
with:
node-version: 14.17.5

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

- 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-
- name: Install packages
run: |
yarn install --pure-lockfile
- name: Precompile assets
run: bin/rails assets:precompile

Expand Down

0 comments on commit 97440f8

Please sign in to comment.