File tree 2 files changed +5
-26
lines changed
2 files changed +5
-26
lines changed Original file line number Diff line number Diff line change 46
46
if : github.repository != 'rust-lang/crates.io'
47
47
run : yarn test-coverage
48
48
49
- embroider :
50
- name : Frontend (embroider)
51
- runs-on : ubuntu-20.04
52
- env :
53
- USE_EMBROIDER : ' true'
54
-
55
- steps :
56
- - uses : actions/checkout@v2
57
- - uses : volta-cli/action@v1
58
-
59
- - run : yarn install
60
-
61
- - run : yarn test
62
- continue-on-error : true
63
-
64
49
backend-lint :
65
50
name : Backend (linting)
66
51
runs-on : ubuntu-20.04
Original file line number Diff line number Diff line change 3
3
const EmberApp = require ( 'ember-cli/lib/broccoli/ember-app' ) ;
4
4
const postcssCustomMedia = require ( 'postcss-custom-media' ) ;
5
5
6
- const { USE_EMBROIDER } = process . env ;
7
-
8
6
module . exports = function ( defaults ) {
9
7
let env = EmberApp . env ( ) ;
10
8
let isProd = env === 'production' ;
@@ -50,13 +48,9 @@ module.exports = function (defaults) {
50
48
app . import ( 'node_modules/normalize.css/normalize.css' , { prepend : true } ) ;
51
49
app . import ( 'vendor/qunit.css' , { type : 'test' } ) ;
52
50
53
- if ( USE_EMBROIDER ) {
54
- const { Webpack } = require ( '@embroider/webpack' ) ;
55
- return require ( '@embroider/compat' ) . compatBuild ( app , Webpack , {
56
- staticAddonTestSupportTrees : true ,
57
- staticModifiers : true ,
58
- } ) ;
59
- }
60
-
61
- return app . toTree ( ) ;
51
+ const { Webpack } = require ( '@embroider/webpack' ) ;
52
+ return require ( '@embroider/compat' ) . compatBuild ( app , Webpack , {
53
+ staticAddonTestSupportTrees : true ,
54
+ staticModifiers : true ,
55
+ } ) ;
62
56
} ;
You can’t perform that action at this time.
0 commit comments