Skip to content

Commit 171ebfb

Browse files
Move tests to test-app (#490)
* Move tests to test-app * Fix imports * Update ci * ope * Embroider guide the way * Fix write-snippets * Fix location and naming of number-slide * Fix a reference to NumberSlide * Add legacy ember-data packages * Move and rename dbmonRow and fix the reference * Add warp-drives config * Add the store service * Handle some deprecations * app fixes * Is this how you enable array prototype extensions? * Up * Add Bootstrap and update loading spinner styles - Imported Bootstrap CSS and glyphicons for styling support. - Updated loading spinner background to use SVG and adjusted size. - Added Bootstrap as a dependency in package.json. * 🤔 * Revert cleanup for comparison * Deps * Update some htings * Sus * Hm * 3.28 needs cached decorator polyfill * lint:fix * prettier * fix * Rollback sharedWorkspaceLockfile: false * Make 3.28 tests pass * Account for pre-service services * Revert "Revert cleanup for comparison" This reverts commit 3614788.
1 parent e90b858 commit 171ebfb

File tree

101 files changed

+1206
-1273
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

101 files changed

+1206
-1273
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -20,23 +20,6 @@ jobs:
2020
- uses: wyvox/action-setup-pnpm@v3
2121
- run: pnpm lint
2222

23-
test_old:
24-
name: "Old: Tests"
25-
runs-on: ubuntu-latest
26-
timeout-minutes: 12
27-
28-
steps:
29-
- uses: actions/checkout@v4
30-
- uses: wyvox/action-setup-pnpm@v3
31-
- run: . bin/restore-env.sh && pnpm ember build
32-
working-directory: vertical-collection
33-
- name: Run Tests
34-
uses: nick-fields/retry@v2
35-
with:
36-
timeout_minutes: 2
37-
max_attempts: 5
38-
command: pnpm test:ci
39-
4023
test:
4124
name: "Tests"
4225
runs-on: ubuntu-latest
@@ -48,26 +31,6 @@ jobs:
4831
- run: pnpm test
4932
working-directory: test-app
5033

51-
# TODO: Delete when tests are moved to test app
52-
floating_old:
53-
name: "Old: Floating Dependencies"
54-
runs-on: ubuntu-latest
55-
timeout-minutes: 12
56-
57-
steps:
58-
- uses: actions/checkout@v4
59-
- uses: wyvox/action-setup-pnpm@v3
60-
with:
61-
args: --no-lockfile
62-
- run: pnpm ember build
63-
working-directory: vertical-collection
64-
- name: Run Tests
65-
uses: nick-fields/retry@v2
66-
with:
67-
timeout_minutes: 2
68-
max_attempts: 5
69-
command: cd vertical-collection && CI=true pnpm ember test --path=dist
70-
7134
floating:
7235
name: "Floating Dependencies"
7336
runs-on: ubuntu-latest
@@ -81,41 +44,6 @@ jobs:
8144
- run: pnpm test
8245
working-directory: test-app
8346

84-
try-scenarios_old:
85-
name: "Old: ${{ matrix.try-scenario }}"
86-
runs-on: ubuntu-latest
87-
timeout-minutes: 12
88-
89-
strategy:
90-
fail-fast: false
91-
matrix:
92-
try-scenario:
93-
- ember-lts-3.28
94-
- ember-lts-4.12
95-
- ember-lts-5.12
96-
- ember-6.1
97-
- ember-release
98-
- ember-beta
99-
- ember-canary
100-
- embroider-safe
101-
- embroider-optimized
102-
103-
steps:
104-
- uses: actions/checkout@v4
105-
- uses: wyvox/action-setup-pnpm@v3
106-
- name: Ember-Try Setup
107-
run: node_modules/.bin/ember try:one ${{ matrix.try-scenario }} --skip-cleanup --- bin/stash-env.sh
108-
working-directory: vertical-collection
109-
- name: Run Build
110-
run: . bin/restore-env.sh && pnpm ember build
111-
working-directory: vertical-collection
112-
- name: Run Tests
113-
uses: nick-fields/retry@v2
114-
with:
115-
timeout_minutes: 2
116-
max_attempts: 5
117-
command: pnpm test:ci
118-
11947
try-scenarios:
12048
name: ${{ matrix.try-scenario }}
12149
runs-on: ubuntu-latest

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"url": "git@github.com:html-next/vertical-collection.git"
88
},
99
"scripts": {
10+
"update:snippets": "node ./scripts/write-snippets.mjs",
1011
"build": "pnpm --filter '*' build",
1112
"lint": "pnpm --filter '*' lint",
1213
"lint:fix": "pnpm --filter '*' lint:fix",
@@ -17,7 +18,7 @@
1718
},
1819
"packageManager": "pnpm@10.10.0",
1920
"volta": {
20-
"node": "18.20.5",
21+
"node": "24.11.0",
2122
"pnpm": "10.10.0"
2223
}
2324
}

0 commit comments

Comments
 (0)