Skip to content

Commit

Permalink
Copy part of ember-try config from another repo
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Oct 10, 2023
1 parent 7578010 commit 82dc90d
Showing 1 changed file with 50 additions and 36 deletions.
86 changes: 50 additions & 36 deletions config/ember-try.js
Original file line number Diff line number Diff line change
@@ -1,48 +1,62 @@
const getChannelUrl = require('ember-source-channel-url');

module.exports = {
useYarn: true,
command: 'yarn ci:test',
scenarios: [
{
name: 'defaults',
npm: {
devDependencies: {},
module.exports = async function () {
const ember5Deps = {
'@ember/string': '^3.1.1',
'@ember/test-helpers': '^3.2.0',
'ember-qunit': '^7.0.0',
'ember-resolver': '^11.0.0',
'ember-auto-import': '^2.3.0',
'ember-cli': '^5.1.0',
'ember-maybe-import-regenerator': null,
};

return {
useYarn: true,
command: 'yarn ci:test',
scenarios: [
{
name: 'defaults',
npm: {
devDependencies: {},
},
},
},
{
name: 'typescript-release',
npm: {
devDependencies: {
typescript: 'latest',
{
name: 'typescript-release',
npm: {
devDependencies: {
typescript: 'latest',
},
},
},
},
{
name: 'typescript-beta',
npm: {
devDependencies: {
typescript: 'next',
{
name: 'typescript-beta',
npm: {
devDependencies: {
typescript: 'next',
},
},
},
},
{
name: 'ember-cli-release',
npm: {
devDependencies: {
'ember-cli': 'latest',
'ember-source': await getChannelUrl('release'),
{
name: 'ember-cli-release',
npm: {
devDependencies: {
'ember-cli': 'latest',
'ember-source': await getChannelUrl('release'),
...ember5Deps,
},
},
},
},
{
name: 'ember-cli-beta',
npm: {
devDependencies: {
'ember-cli': 'beta',
'ember-source': await getChannelUrl('beta'),
{
name: 'ember-cli-beta',
npm: {
devDependencies: {
'ember-cli': 'beta',
'ember-source': await getChannelUrl('beta'),
...ember5Deps,
},
},
},
},
],
],
};
};

0 comments on commit 82dc90d

Please sign in to comment.