mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Disable the use of 'legacy' Ember assets (#17127)
Anyone still using `EMBER_CLI_PROD_ASSETS=0` in development or production will be gracefully switched to Ember CLI. In development, a repeated message will be logged to STDERR. Similarly, passing `QUNIT_EMBER_CLI=0` to the qunit rake task will now do nothing. A warning will be printed, and ember-cli mode will be used. Note that we've chosen not to fail the task, so that existing plugin/theme CI jobs don't immediately start failing. We may switch to a hard fail in the coming days/weeks.
This commit is contained in:
12
.github/workflows/tests.yml
vendored
12
.github/workflows/tests.yml
vendored
@@ -31,7 +31,7 @@ jobs:
|
||||
fail-fast: false
|
||||
|
||||
matrix:
|
||||
build_type: [backend, frontend, frontend-legacy, annotations]
|
||||
build_type: [backend, frontend, annotations]
|
||||
target: [core, plugins]
|
||||
exclude:
|
||||
- build_type: annotations
|
||||
@@ -153,16 +153,6 @@ jobs:
|
||||
if: matrix.build_type == 'backend' && matrix.target == 'plugins'
|
||||
run: bin/rake plugin:spec
|
||||
|
||||
- name: Core QUnit (Legacy)
|
||||
if: matrix.build_type == 'frontend-legacy' && matrix.target == 'core'
|
||||
run: QUNIT_EMBER_CLI=0 bin/rake qunit:test['1200000']
|
||||
timeout-minutes: 30
|
||||
|
||||
- name: Plugin QUnit (Legacy)
|
||||
if: matrix.build_type == 'frontend-legacy' && matrix.target == 'plugins'
|
||||
run: QUNIT_EMBER_CLI=0 bin/rake plugin:qunit['*','1200000']
|
||||
timeout-minutes: 30
|
||||
|
||||
- name: Plugin QUnit (Ember CLI)
|
||||
if: matrix.build_type == 'frontend' && (matrix.target == 'plugins' || matrix.target == 'core-plugins')
|
||||
run: QUNIT_EMBER_CLI=1 bin/rake plugin:qunit['*','1200000']
|
||||
|
||||
Reference in New Issue
Block a user