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 e69c0d6 commit dd39012
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 @@ -44,6 +44,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 --frozen-lockfile
- name: Precompile assets
run: bin/rails assets:precompile

Expand Down

0 comments on commit dd39012

Please sign in to comment.