-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(build): update CircleCI to use node-orb and re-enable node polyfi…
…lls in ember-auto-import
- Loading branch information
1 parent
378cd61
commit 6613915
Showing
6 changed files
with
3,279 additions
and
2,475 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,70 +1,89 @@ | ||
"use strict"; | ||
|
||
const getChannelURL = require("ember-source-channel-url"); | ||
const isCI = !!process.env.CI; | ||
|
||
module.exports = async function() { | ||
module.exports = async function () { | ||
return { | ||
command: isCI | ||
? "ember test --silent --reporter xunit > ./reports/test_results.xml" | ||
: "ember test", | ||
useYarn: true, | ||
scenarios: [ | ||
{ | ||
name: "ember-lts-3.4", | ||
name: "ember-lts-3.12", | ||
npm: { | ||
devDependencies: { | ||
"ember-source": "~3.4.0" | ||
} | ||
} | ||
"ember-source": "~3.12.0", | ||
}, | ||
}, | ||
}, | ||
{ | ||
name: "ember-lts-3.8", | ||
name: "ember-lts-3.16", | ||
npm: { | ||
devDependencies: { | ||
"ember-source": "~3.8.0" | ||
} | ||
} | ||
"ember-source": "~3.16.0", | ||
}, | ||
}, | ||
}, | ||
{ | ||
name: "ember-release", | ||
npm: { | ||
devDependencies: { | ||
"ember-source": await getChannelURL("release") | ||
} | ||
} | ||
"ember-source": await getChannelURL("release"), | ||
}, | ||
}, | ||
}, | ||
{ | ||
name: "ember-beta", | ||
npm: { | ||
devDependencies: { | ||
"ember-source": await getChannelURL("beta") | ||
} | ||
} | ||
"ember-source": await getChannelURL("beta"), | ||
}, | ||
}, | ||
}, | ||
{ | ||
name: "ember-canary", | ||
npm: { | ||
devDependencies: { | ||
"ember-source": await getChannelURL("canary") | ||
} | ||
} | ||
"ember-source": await getChannelURL("canary"), | ||
}, | ||
}, | ||
}, | ||
{ | ||
name: "ember-default", | ||
npm: { | ||
devDependencies: {} | ||
} | ||
devDependencies: {}, | ||
}, | ||
}, | ||
{ | ||
name: "ember-default-with-jquery", | ||
env: { | ||
EMBER_OPTIONAL_FEATURES: JSON.stringify({ | ||
"jquery-integration": true | ||
}) | ||
"jquery-integration": true, | ||
}), | ||
}, | ||
npm: { | ||
devDependencies: { | ||
"@ember/jquery": "^0.5.1" | ||
} | ||
} | ||
} | ||
] | ||
"@ember/jquery": "^0.5.1", | ||
}, | ||
}, | ||
}, | ||
{ | ||
name: "ember-classic", | ||
env: { | ||
EMBER_OPTIONAL_FEATURES: JSON.stringify({ | ||
"application-template-wrapper": true, | ||
"default-async-observers": false, | ||
"template-only-glimmer-components": false, | ||
}), | ||
}, | ||
npm: { | ||
ember: { | ||
edition: "classic", | ||
}, | ||
}, | ||
}, | ||
], | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.