Update dependency @ember/test-helpers to v4 #2945
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, main, 'v*' ] | |
pull_request: | |
branches: [ master, main ] | |
concurrency: | |
group: ci-${{ github.head_ref || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
name: Tests | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: 'yarn' | |
- run: yarn install --frozen-lockfile | |
- run: yarn lint | |
- run: yarn test:ember | |
test-node: | |
name: Node Tests | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: 'yarn' | |
- run: yarn install --frozen-lockfile | |
- run: yarn test:node | |
floating-dependencies: | |
name: "Floating Dependencies" | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: 'yarn' | |
- run: yarn install --no-lockfile | |
- run: yarn test:ember | |
try-scenarios: | |
name: "Try: ${{ matrix.ember-try-scenario }}" | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
needs: test | |
strategy: | |
fail-fast: false | |
matrix: | |
ember-try-scenario: | |
- embroider-safe | |
- embroider-optimized | |
- ember-lts-4.8 | |
- ember-lts-4.12 | |
- ember-release | |
- ember-beta | |
- ember-canary | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: 'yarn' | |
- name: install dependencies | |
run: yarn install --frozen-lockfile | |
- name: test | |
run: node_modules/.bin/ember try:one ${{ matrix.ember-try-scenario }} --skip-cleanup |