Skip to content

Commit

Permalink
Transpile for node tests
Browse files Browse the repository at this point in the history
  • Loading branch information
simonihmig committed May 25, 2021
1 parent 0bc4fe1 commit 68b319d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Expand Up @@ -183,6 +183,7 @@ jobs:
env:
DISABLE_SOURCE_MAPS: true
BROCCOLI_ENV: production
SHOULD_TRANSPILE_FOR_NODE: true
run: yarn ember build -prod
- name: test
run: yarn test:node
Expand Down
1 change: 1 addition & 0 deletions config/targets.js
Expand Up @@ -6,4 +6,5 @@ const shouldTranspile = Boolean(process.env.SHOULD_TRANSPILE);

module.exports = {
browsers: isProduction || shouldTranspile ? allSupportedBrowsers : modernBrowsers,
node: process.env.SHOULD_TRANSPILE_FOR_NODE ? 'current' : undefined,
};

0 comments on commit 68b319d

Please sign in to comment.