From 641f0df712e006d4a2a36fc81344102a585528da Mon Sep 17 00:00:00 2001 From: Pierre de La Morinerie Date: Tue, 26 Oct 2021 14:35:18 +0200 Subject: [PATCH] ci: avoid installing node modules again By default `bin/rails assets:precompile` will run `yarn install` again. The suggested workaround is to remove `bin/yarn` before running the task. See https://github.com/rails/webpacker/issues/405 --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fe3ab76fe..36cdbf541 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -107,6 +107,7 @@ jobs: env: RAILS_ENV: test run: | + rm bin/yarn bin/rails assets:precompile --trace - name: Run tests