Skip to content

Commit

Permalink
compile assets step
Browse files Browse the repository at this point in the history
  • Loading branch information
Syntaf committed Nov 11, 2024
1 parent 06fafd7 commit 0ed496c
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,14 @@ jobs:
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}

- name: Install Javascript Packages
if: steps.cache-yarn.outputs.cache-hit != 'true'
run: |
yarn install --pure-lockfile
NODE_OPTIONS=--openssl-legacy-provider yarn install --pure-lockfile
- name: Compile Assets
env:
RAILS_ENV: test
run: |
NODE_OPTIONS=--openssl-legacy-provider bundle exec rails webpacker:compile
- name: Create Database
env:
Expand All @@ -82,4 +87,4 @@ jobs:
RAILS_MASTER_KEY: ${{ secrets.RAILS_MASTER_KEY }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
run: |
make pcat && bundle exec rails test
bundle exec rails test

0 comments on commit 0ed496c

Please sign in to comment.