Skip to content
Merged
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
19 changes: 16 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,20 @@ concurrency:
cancel-in-progress: true

jobs:
build:
name: "Build"
runs-on: ubuntu-latest
timeout-minutes: 2
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm build

lint:
name: "Lints"
runs-on: ubuntu-latest
Expand Down Expand Up @@ -50,8 +64,7 @@ jobs:
# For the Try Scenarios
- id: set-matrix
run: |
echo "matrix=$(pnpm -s dlx @embroider/try list)" >> $GITHUB_OUTPUT

echo "matrix=$(pnpm -s dlx @embroider/try list)" >> $GITHUB_OUTPUT

floating:
name: "Floating Dependencies"
Expand Down Expand Up @@ -88,7 +101,7 @@ jobs:
cache: pnpm
- name: Apply Scenario
run: |
pnpm dlx @embroider/try apply ${{ matrix.name }}
pnpm dlx @embroider/try apply ${{ matrix.name }}

- name: Install Dependencies
run: pnpm install --no-lockfile
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export default {
// Emit .d.ts declaration files
addon.declarations(
'declarations',
`npx glint --declaration --project ${tsConfig}`,
`pnpm ember-tsc --declaration --project ${tsConfig}`,
),

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