Skip to content

Commit 1a3284b

Browse files
committed
fix: ci
1 parent 76ecc2e commit 1a3284b

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ jobs:
4949
run: pnpm test
5050
# For the Try Scenarios
5151
- id: set-matrix
52+
working-directory: addon
5253
run: |
5354
echo "matrix=$(pnpm -s dlx @embroider/try list)" >> $GITHUB_OUTPUT
5455
@@ -87,13 +88,14 @@ jobs:
8788
node-version-file: "package.json"
8889
cache: pnpm
8990
- name: Apply Scenario
91+
working-directory: addon
9092
run: |
9193
pnpm dlx @embroider/try apply ${{ matrix.name }}
9294
9395
- name: Install Dependencies
9496
run: pnpm install --no-lockfile
9597
- name: Run Tests
9698
run: |
97-
pnpm test
99+
pnpm -F ember-cli-clipboard test
98100
99101
env: ${{ matrix.env }}

addon/.try.mjs

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,25 @@ const compatDeps = {
2525

2626
export default {
2727
scenarios: [
28+
{
29+
name: 'ember-lts-4.12',
30+
npm: {
31+
dependencies: {
32+
'ember-auto-import': '^2.10.0',
33+
'ember-cli-htmlbars': '^6.3.0',
34+
},
35+
devDependencies: {
36+
'@ember/optional-features': '^2.2.0',
37+
'@ember/string': '^3.1.1',
38+
'ember-cli': '~4.12.0',
39+
'ember-source': '~4.12.0',
40+
},
41+
},
42+
env: {
43+
ENABLE_COMPAT_BUILD: true,
44+
},
45+
files: compatFiles,
46+
},
2847
{
2948
name: 'ember-lts-5.8',
3049
npm: {

0 commit comments

Comments
 (0)