Update transforms to pass availableModules in index-html for ember-exam when present & add CLI option #421
Workflow file for this run
This file contains hidden or 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 | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - master | |
| pull_request: {} | |
| concurrency: | |
| group: ci-${{ github.head_ref || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 20 | |
| cache: pnpm | |
| - run: pnpm i --frozen-lockfile | |
| - run: pnpm run lint | |
| test-lib: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 20 | |
| cache: pnpm | |
| - run: pnpm i --frozen-lockfile | |
| - run: pnpm test:lib | |
| test: | |
| runs-on: ${{matrix.os}} | |
| timeout-minutes: 20 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| file: | |
| - standard | |
| - typescript | |
| - webpack | |
| version: | |
| - ember-cli-3.28 | |
| - ember-cli-4.4 | |
| - ember-cli-4.8 | |
| - ember-cli-4.12 | |
| - ember-cli-5.4 | |
| - ember-cli-5.8 | |
| - ember-cli-5.12 | |
| - ember-cli-6.4 | |
| - ember-cli-latest | |
| os: | |
| - ubuntu-latest | |
| include: | |
| - version: ember-cli-latest | |
| os: windows-latest | |
| file: standard | |
| - version: ember-cli-latest | |
| os: windows-latest | |
| file: typescript | |
| - version: ember-cli-latest | |
| os: windows-latest | |
| file: webpack | |
| exclude: | |
| - file: webpack | |
| version: ember-cli-3.28 | |
| - file: webpack | |
| version: ember-cli-4.4 | |
| - file: webpack | |
| version: ember-cli-4.8 | |
| - file: webpack | |
| version: ember-cli-4.12 | |
| - file: typescript | |
| version: ember-cli-3.28 | |
| - file: typescript | |
| version: ember-cli-4.4 | |
| - file: typescript | |
| version: ember-cli-4.8 | |
| - file: typescript | |
| version: ember-cli-4.12 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 20 | |
| cache: pnpm | |
| - run: pnpm i --frozen-lockfile | |
| - name: Set TEMP to D:/Temp on windows | |
| if: ${{matrix.os == 'windows-latest'}} | |
| run: | | |
| mkdir "D:\\Temp" | |
| echo "TEMP=D:\\Temp" >> $env:GITHUB_ENV | |
| - run: pnpm vitest -t ${{matrix.version}} tests/${{ matrix.file }}.test.js | |
| env: | |
| TEST_TIMEOUT: "${{ matrix.os == 'windows-latest' && '1200000' || '' }}" # because windows is VERY slow :( | |