Skip to content

Commit 3263ca9

Browse files
authored
Merge pull request #4 from ember-learn/include-images
Include images in the output build
2 parents 620de27 + 13b722d commit 3263ca9

File tree

4 files changed

+292
-611
lines changed

4 files changed

+292
-611
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Install Node
2222
uses: actions/setup-node@v2
2323
with:
24-
node-version: 12.x
24+
node-version: 16.x
2525
cache: npm
2626
- name: Install Dependencies
2727
run: npm ci
@@ -37,9 +37,10 @@ jobs:
3737
- name: Install Node
3838
uses: actions/setup-node@v2
3939
with:
40-
node-version: 12.x
40+
node-version: 16.x
4141
cache: npm
4242
- name: Install Dependencies
4343
run: npm ci
44+
- run: npm run clone
4445
- name: Run Tests
4546
run: npm test

ember-cli-build.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,22 @@
11
'use strict';
22

33
const EmberApp = require('ember-cli/lib/broccoli/ember-app');
4+
const mergeTrees = require('broccoli-merge-trees');
5+
const funnel = require('broccoli-funnel');
46

57
module.exports = function (defaults) {
68
let app = new EmberApp(defaults, {
79
rfcProcess: {
810
textLocation: 'processed-rfcs',
911
},
12+
trees: {
13+
public: mergeTrees([
14+
'public',
15+
funnel('rfcs/images', {
16+
destDir: 'images',
17+
}),
18+
]),
19+
},
1020
});
1121

1222
// Use `app.import` to add additional libraries to the generated

0 commit comments

Comments
 (0)