File tree 3 files changed +26
-0
lines changed
3 files changed +26
-0
lines changed Original file line number Diff line number Diff line change 51
51
- ember-canary
52
52
- ember-classic
53
53
- ember-default-with-jquery
54
+ - ember-default-with-embroider
54
55
55
56
steps :
56
57
- uses : actions/checkout@v2
Original file line number Diff line number Diff line change @@ -103,6 +103,16 @@ module.exports = async function () {
103
103
devDependencies : { } ,
104
104
} ,
105
105
} ,
106
+ {
107
+ name : 'ember-default-with-embroider' ,
108
+ npm : {
109
+ devDependencies : {
110
+ '@embroider/core' : 'latest' ,
111
+ '@embroider/webpack' : 'latest' ,
112
+ '@embroider/compat' : 'latest' ,
113
+ } ,
114
+ } ,
115
+ } ,
106
116
] ,
107
117
} ;
108
118
} ;
Original file line number Diff line number Diff line change @@ -10,6 +10,21 @@ module.exports = function (defaults) {
10
10
} ,
11
11
} ) ;
12
12
13
+ if ( '@embroider/webpack' in app . dependencies ( ) ) {
14
+ const { Webpack } = require ( '@embroider/webpack' ) ; // eslint-disable-line
15
+ return require ( '@embroider/compat' ) // eslint-disable-line
16
+ . compatBuild ( app , Webpack , {
17
+ staticAddonTestSupportTrees : true ,
18
+ staticAddonTrees : true ,
19
+
20
+ // disabled because we need to be able to register custom non-resolved components
21
+ // and helpers in tests; see https://github.com/embroider-build/embroider/issues/522
22
+ // for more context
23
+ staticHelpers : false ,
24
+ staticComponents : false ,
25
+ } ) ;
26
+ }
27
+
13
28
/*
14
29
This build file specifies the options for the dummy test app of this
15
30
addon, located in `/tests/dummy`
You can’t perform that action at this time.
0 commit comments