Skip to content

Commit 62687c5

Browse files
committed
run stable decorators variant in ci
1 parent d871090 commit 62687c5

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ jobs:
100100
- name: "Production build, with optional features"
101101
BUILD: "production"
102102
ENABLE_OPTIONAL_FEATURES: "true"
103+
- name: "Stable decorators"
104+
VITE_STABLE_DECORATORS: "true"
103105

104106
steps:
105107
- uses: actions/checkout@v4
@@ -112,6 +114,7 @@ jobs:
112114
OVERRIDE_DEPRECATION_VERSION: ${{ matrix.OVERRIDE_DEPRECATION_VERSION }}
113115
ENABLE_OPTIONAL_FEATURES: ${{ matrix.ENABLE_OPTIONAL_FEATURES }}
114116
RAISE_ON_DEPRECATION: ${{ matrix.RAISE_ON_DEPRECATION }}
117+
VITE_STABLE_DECORATORS: ${{ matrix.VITE_STABLE_DECORATORS }}
115118

116119
run: pnpm test
117120

packages/@ember/-internals/metal/tests/tracked/validation_test.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ moduleFor(
4343
assert.equal(validateTag(tag, snapshot), true);
4444
}
4545

46-
[`@test autotracking should work with initializers`](assert) {
46+
[`@test autotracking should work with initializers (${import.meta.env.VITE_STABLE_DECORATORS ? 'stable' : 'legacy'} decorators)`](
47+
assert
48+
) {
4749
class Tracked {
4850
@tracked first = `first: ${this.second}`;
4951
@tracked second = 'second';

0 commit comments

Comments
 (0)