Fix import type via upgrading @tsconfig/ember #3269
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI Build | |
on: | |
push: | |
branches: | |
- master | |
- "v*" | |
pull_request: | |
schedule: | |
- cron: "0 3 * * *" # daily, at 3am | |
jobs: | |
lint: | |
timeout-minutes: 5 | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
cache: pnpm | |
- name: Install Dependencies | |
run: pnpm install | |
- run: pnpm lint | |
test: | |
timeout-minutes: 5 | |
name: Tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
cache: pnpm | |
- name: Install Dependencies | |
run: pnpm install | |
- name: Build addon | |
working-directory: addon | |
run: pnpm build | |
- run: pnpm test | |
- name: own types | |
working-directory: addon | |
run: pnpm tsc --noEmit | |
floating: | |
name: "Floating Dependencies" | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
cache: pnpm | |
- name: Install Dependencies | |
run: pnpm install --no-lockfile | |
- name: Build addon | |
working-directory: addon | |
run: pnpm build | |
- name: Run Tests | |
run: pnpm test | |
- name: own types | |
working-directory: addon | |
run: pnpm tsc --noEmit | |
try-scenarios: | |
timeout-minutes: 10 | |
name: "Try: ${{ matrix.ember-try-scenario }}" | |
runs-on: ubuntu-latest | |
needs: test | |
strategy: | |
fail-fast: false | |
matrix: | |
ember-try-scenario: | |
- ember-lts-4.4 | |
- ember-lts-4.8 | |
- ember-lts-4.12 | |
- ember-lts-5.4 | |
- ember-lts-5.8 | |
# All of these are failing with the waiter tests (needs to be debugged separately) | |
# - ember-release | |
# - ember-beta | |
# - ember-canary | |
- ember-default | |
- embroider-safe | |
# - embroider-optimized # see comments in ember-try.js | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
cache: pnpm | |
- name: Install Dependencies | |
run: pnpm install | |
- name: Build addon | |
working-directory: addon | |
run: pnpm build | |
- name: test | |
working-directory: addon | |
run: node_modules/.bin/ember try:one ${{ matrix.ember-try-scenario }} --skip-cleanup | |
- name: types compatibility | |
working-directory: addon | |
run: pnpm lint:ts | |
types: | |
runs-on: ubuntu-latest | |
needs: test | |
strategy: | |
fail-fast: false | |
matrix: | |
ts-version: | |
- 4.7 | |
- 4.8 | |
- 4.9 | |
- 5.0 | |
- 5.1 | |
- 5.2 | |
- 5.3 | |
- 5.4 | |
- 5.5 | |
- next | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
cache: pnpm | |
- name: Install Dependencies | |
run: pnpm install | |
- name: Build types for addon | |
working-directory: addon | |
run: pnpm build | |
- name: install TS version | |
working-directory: type-tests | |
run: pnpm add --save-dev typescript@${{matrix.ts-version}} | |
- name: public types | |
working-directory: type-tests | |
run: pnpm test |