Skip to content

Commit

Permalink
Update CI and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Dec 27, 2023
1 parent 4eafcd5 commit 700e5b5
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,16 +80,28 @@ jobs:
- uses: wyvox/action-setup-pnpm@v3
- run: pnpm build
- run: pnpm i -f # just in case
- name: 'Change TS to ${{ matrix.typescript-scenario }}'
- name: 'test-types : ${{ matrix.typescript-scenario }}'
working-directory: ./test-types
run: 'pnpm add --save-dev ${{ matrix.typescript-scenario}}'

- name: 'Type checking'
- name: 'docs : ${{ matrix.typescript-scenario }}'
working-directory: ./docs
run: 'pnpm add --save-dev ${{ matrix.typescript-scenario}}'

- name: 'test-types'
working-directory: ./test-types
run: |
pnpm tsc -v
pnpm tsc --noEmit
- name: 'Glint in the docs app'
working-directory: ./docs
run: |
pnpm tsc -v
pnpm glint --version
pnpm glint
try-scenarios:
name: Tests - ${{ matrix.ember-try-scenario }}
runs-on: ubuntu-latest
Expand Down
7 changes: 7 additions & 0 deletions test-types/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
import 'ember-source/types';
import '@glint/environment-ember-loose';

// imports all resolve
import 'ember-page-title';
import 'ember-page-title/services/page-title';
import 'ember-page-title/test-support';
import 'ember-page-title/template-registry';
import 'ember-page-title/service-registry';


import { expectTypeOf } from 'expect-type';
import type Owner from '@ember/owner';
Expand Down

0 comments on commit 700e5b5

Please sign in to comment.