Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 0 additions & 72 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,23 +20,6 @@ jobs:
- uses: wyvox/action-setup-pnpm@v3
- run: pnpm lint

test_old:
name: "Old: Tests"
runs-on: ubuntu-latest
timeout-minutes: 12

steps:
- uses: actions/checkout@v4
- uses: wyvox/action-setup-pnpm@v3
- run: . bin/restore-env.sh && pnpm ember build
working-directory: vertical-collection
- name: Run Tests
uses: nick-fields/retry@v2
with:
timeout_minutes: 2
max_attempts: 5
command: pnpm test:ci

test:
name: "Tests"
runs-on: ubuntu-latest
Expand All @@ -48,26 +31,6 @@ jobs:
- run: pnpm test
working-directory: test-app

# TODO: Delete when tests are moved to test app
floating_old:
name: "Old: Floating Dependencies"
runs-on: ubuntu-latest
timeout-minutes: 12

steps:
- uses: actions/checkout@v4
- uses: wyvox/action-setup-pnpm@v3
with:
args: --no-lockfile
- run: pnpm ember build
working-directory: vertical-collection
- name: Run Tests
uses: nick-fields/retry@v2
with:
timeout_minutes: 2
max_attempts: 5
command: cd vertical-collection && CI=true pnpm ember test --path=dist

floating:
name: "Floating Dependencies"
runs-on: ubuntu-latest
Expand All @@ -81,41 +44,6 @@ jobs:
- run: pnpm test
working-directory: test-app

try-scenarios_old:
name: "Old: ${{ matrix.try-scenario }}"
runs-on: ubuntu-latest
timeout-minutes: 12

strategy:
fail-fast: false
matrix:
try-scenario:
- ember-lts-3.28
- ember-lts-4.12
- ember-lts-5.12
- ember-6.1
- ember-release
- ember-beta
- ember-canary
- embroider-safe
- embroider-optimized

steps:
- uses: actions/checkout@v4
- uses: wyvox/action-setup-pnpm@v3
- name: Ember-Try Setup
run: node_modules/.bin/ember try:one ${{ matrix.try-scenario }} --skip-cleanup --- bin/stash-env.sh
working-directory: vertical-collection
- name: Run Build
run: . bin/restore-env.sh && pnpm ember build
working-directory: vertical-collection
- name: Run Tests
uses: nick-fields/retry@v2
with:
timeout_minutes: 2
max_attempts: 5
command: pnpm test:ci

try-scenarios:
name: ${{ matrix.try-scenario }}
runs-on: ubuntu-latest
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"url": "git@github.com:html-next/vertical-collection.git"
},
"scripts": {
"update:snippets": "node ./scripts/write-snippets.mjs",
"build": "pnpm --filter '*' build",
"lint": "pnpm --filter '*' lint",
"lint:fix": "pnpm --filter '*' lint:fix",
Expand All @@ -17,7 +18,7 @@
},
"packageManager": "pnpm@10.10.0",
"volta": {
"node": "18.20.5",
"node": "24.11.0",
"pnpm": "10.10.0"
}
}
109 changes: 92 additions & 17 deletions pnpm-lock.yaml

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

Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,16 @@ const buildSnippetsListData = (dir, snippetsData = {}) => {
};

let snippetsData = {};
buildSnippetsListData('tests/dummy/app/', snippetsData);
buildSnippetsListData(
path.join(import.meta.dirname, '../test-app/app/'),
snippetsData,
);

fs.writeSync(
fs.openSync('tests/dummy/app/snippets.js', 'w'),
fs.openSync(
path.join(import.meta.dirname, '../test-app/app/snippets.js'),
'w',
),
`export default ${JSON.stringify(snippetsData)}`,
0,
'utf8',
Expand Down
Loading
Loading