Skip to content

Commit 4977b3c

Browse files
Merge pull request #12 from ember-cli/test-build
Add build to CI
2 parents d513bdd + 60409e5 commit 4977b3c

File tree

2 files changed

+17
-4
lines changed

2 files changed

+17
-4
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,20 @@ concurrency:
1212
cancel-in-progress: true
1313

1414
jobs:
15+
build:
16+
name: "Build"
17+
runs-on: ubuntu-latest
18+
timeout-minutes: 2
19+
steps:
20+
- uses: actions/checkout@v4
21+
- uses: pnpm/action-setup@v4
22+
- uses: actions/setup-node@v4
23+
with:
24+
node-version: 22
25+
cache: pnpm
26+
- run: pnpm install --frozen-lockfile
27+
- run: pnpm build
28+
1529
lint:
1630
name: "Lints"
1731
runs-on: ubuntu-latest
@@ -50,8 +64,7 @@ jobs:
5064
# For the Try Scenarios
5165
- id: set-matrix
5266
run: |
53-
echo "matrix=$(pnpm -s dlx @embroider/try list)" >> $GITHUB_OUTPUT
54-
67+
echo "matrix=$(pnpm -s dlx @embroider/try list)" >> $GITHUB_OUTPUT
5568
5669
floating:
5770
name: "Floating Dependencies"
@@ -88,7 +101,7 @@ jobs:
88101
cache: pnpm
89102
- name: Apply Scenario
90103
run: |
91-
pnpm dlx @embroider/try apply ${{ matrix.name }}
104+
pnpm dlx @embroider/try apply ${{ matrix.name }}
92105
93106
- name: Install Dependencies
94107
run: pnpm install --no-lockfile

rollup.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export default {
6363
// Emit .d.ts declaration files
6464
addon.declarations(
6565
'declarations',
66-
`npx glint --declaration --project ${tsConfig}`,
66+
`pnpm ember-tsc --declaration --project ${tsConfig}`,
6767
),
6868

6969
// addons are allowed to contain imports of .css files, which we want rollup

0 commit comments

Comments
 (0)