Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync with ecosystem and prepare for v5 #426

Merged
merged 13 commits into from
Apr 9, 2022
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
53 changes: 50 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ jobs:
# run: yarn ember test

try-scenarios:
name: "Compatibility"
timeout-minutes: 7
name: "Ember Compatibility"
timeout-minutes: 10
runs-on: ubuntu-latest
needs: tests

Expand All @@ -101,6 +101,7 @@ jobs:
- ember-3.25
- ember-3.26
- ember-3.28
- ember-4.0.0
- ember-concurrency-v1
- ember-release
- ember-beta
Expand Down Expand Up @@ -130,11 +131,57 @@ jobs:
run: |
node_modules/.bin/ember try:one ${{ matrix.ember-try-scenario }} --skip-cleanup

typescript-compatibility:
name: Type checking - ${{ matrix.typescript-scenario }}
runs-on: ubuntu-latest
continue-on-error: true
needs: build_test

strategy:
fail-fast: true
matrix:
typescript-scenario:
[
[email protected],
[email protected],
[email protected],
[email protected],
[email protected],
typescript@next,
]

steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1
- uses: volta-cli/action@v1
with:
node-version: 12.x
- name: Cache pnpm modules
uses: actions/cache@v2
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-

- uses: pnpm/[email protected]
with:
version: 6.32.1
- run: pnpm install
- name: Update TS Version
run: pnpm add --save-dev ${{ matrix.typescript-scenario }}
working-directory: testing/ember-app
- name: Type checking
run: pnpm --filter ember-app exec tsc --build



publish:
name: Release
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master'
needs: [tests, try-scenarios]
needs: [tests, typescript-compatibility, try-scenarios]

steps:
- uses: actions/checkout@v3
Expand Down
Loading