Add assets precompile check to the miscellaneous tasks node (#15280)

* Add assets precompile check to the miscellaneous tasks node

* Add unrecognized js syntax

This should trip the precompile step?

* use production mode to precompile

The containerfile does this, and we don't see the same failures unless
we do too

* remove unrecognized syntax from pipeline js

This failed correctly during the build during
https://app.travis-ci.com/github/forem/forem/jobs/546569306 and
validates the test will fail if we get in this situation.
This commit is contained in:
Daniel Uber 2021-11-03 19:09:44 -04:00 committed by GitHub
parent 5bdaeef82b
commit 307f088d05
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -90,6 +90,7 @@ jobs:
- bundle exec bundle-audit check --update
- bin/test-console-check
- yarn build-storybook
- NODE_ENV=production RAILS_ENV=production bundle exec rake assets:precompile
- stage: Test
name: "E2E Seeded Node 0"
env: