Skip to content

Commit

Permalink
Replaced ember-source-channel-url with latest-version. Added ember-lt…
Browse files Browse the repository at this point in the history
…s-5.8 scenario. (#230)

* chore: Replaced ember-source-channel-url with latest-version. Added ember-lts-5.8 scenario.

* chore: Added lockfile

---------

Co-authored-by: ijlee2 <ijlee2@users.noreply.github.com>
  • Loading branch information
ijlee2 and ijlee2 committed Jun 7, 2024
1 parent eabc201 commit 86acb44
Show file tree
Hide file tree
Showing 4 changed files with 104 additions and 10 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ jobs:
- 'ember-lts-4.8'
- 'ember-lts-4.12'
- 'ember-lts-5.4'
- 'ember-lts-5.8'
- 'ember-release'
- 'ember-beta'
- 'ember-canary'
Expand Down
88 changes: 85 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 17 additions & 6 deletions test-app/config/ember-try.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
'use strict';

const getChannelURL = require('ember-source-channel-url');
const { embroiderOptimized, embroiderSafe } = require('@embroider/test-setup');

module.exports = async function () {
const { default: latestVersion } = await import('latest-version');

return {
usePnpm: true,
scenarios: [
Expand Down Expand Up @@ -44,29 +45,39 @@ module.exports = async function () {
},
},
},
{
name: 'ember-lts-5.8',
npm: {
devDependencies: {
'ember-source': '~5.8.0',
},
},
},
{
name: 'ember-release',
npm: {
devDependencies: {
'ember-source': await getChannelURL('release'),
'ember-source': await latestVersion('ember-source'),
},
},
},
{
name: 'ember-beta',
npm: {
devDependencies: {
// 'ember-source': await getChannelURL('beta'),
'ember-source': '5.9.0-beta.1',
'ember-source': await latestVersion('ember-source', {
version: 'beta',
}),
},
},
},
{
name: 'ember-canary',
npm: {
devDependencies: {
// 'ember-source': await getChannelURL('canary'),
'ember-source': '5.10.0-alpha.1',
'ember-source': await latestVersion('ember-source', {
version: 'alpha',
}),
},
},
},
Expand Down
2 changes: 1 addition & 1 deletion test-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@
"ember-qunit": "^8.0.2",
"ember-resolver": "^11.0.1",
"ember-source": "~5.8.0",
"ember-source-channel-url": "^3.0.0",
"ember-template-lint": "^6.0.0",
"ember-test-selectors": "^6.0.0",
"ember-try": "^3.0.0",
"eslint": "^8.57.0",
"latest-version": "^9.0.0",
"loader.js": "^4.7.0",
"prettier": "^3.2.5",
"qunit": "^2.20.1",
Expand Down

0 comments on commit 86acb44

Please sign in to comment.