Skip to content

Commit

Permalink
fix: explicitly setup node and run yarn install before running sp…
Browse files Browse the repository at this point in the history
…ecs (#459)

Technically API-only apps won't need this but we pretty much never do
those and this shouldn't error so at worse it'll just add a couple of
seconds to CI.

Resolves #456
  • Loading branch information
G-Rath authored Aug 10, 2023
1 parent b5e8892 commit eeadd3c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions variants/github_actions_ci/workflows/ci.yml.tt
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,11 @@ jobs:
- run: bundle exec rubocop
- run: bundle exec brakeman --run-all-checks --exit-on-warn --format plain .
- run: bundle exec rails db:setup
- uses: actions/setup-node@v3
with:
node-version-file: ".node-version"
cache: "yarn"
- run: yarn install --frozen-lockfile
- run: bundle exec rspec spec --format progress
- name: Archive spec outputs
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit eeadd3c

Please sign in to comment.