-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update ember-auto-import to v2 & ember-cli v4 (#370)
BREAKING CHANGE: This commit contains many breaking changes: - Drops ember classic component support (glimmer only) - Drops support for `sendAction` - Requires ember-auto-import 2.x - `<CopyButton>` component arg name changes: | Old Argument Name | New Argument Name | | ------------------ | -------------------------------------- | | `@clipboardText` | `@text` | | `@clipboardTarget` | `@target` | | `@clipboardAction` | `@action` | | `@success` | `@onSuccess` | | `@error` | `@onError` | | `@title` | no longer supported, pass as attribute | | `@disabled` | no longer supported, pass as attribute | | `@aria-label` | no longer supported, pass as attribute |
- Loading branch information
Showing
39 changed files
with
13,302 additions
and
11,216 deletions.
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,83 +1,79 @@ | ||
name: CI | ||
|
||
on: | ||
pull_request: | ||
push: | ||
# filtering branches here prevents duplicate builds from pull_request and push | ||
branches: | ||
- main | ||
schedule: | ||
- cron: '0 3 * * 0' # every Sunday at 3am | ||
- master | ||
pull_request: {} | ||
|
||
env: | ||
CI: true | ||
concurrency: | ||
group: ci-${{ github.head_ref || github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
tests: | ||
if: "! contains(toJSON(github.event.commits.*.message), '[skip ci]')" | ||
name: Base Tests | ||
timeout-minutes: 5 | ||
test: | ||
name: 'Tests' | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node: | ||
- '12' | ||
- '14' | ||
timeout-minutes: 10 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: volta-cli/action@v1 | ||
- uses: actions/checkout@v3 | ||
- name: Install Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
|
||
- run: npm ci | ||
|
||
- name: Test with ${{ matrix.node }} | ||
node-version: 14.x | ||
cache: npm | ||
- name: Install Dependencies | ||
run: npm ci | ||
- name: Lint | ||
run: npm run lint | ||
- name: Run Tests | ||
run: npm run test:ember | ||
|
||
floating-dependencies: | ||
if: "! contains(toJSON(github.event.commits.*.message), '[skip ci]')" | ||
name: Floating Dependencies | ||
timeout-minutes: 5 | ||
floating: | ||
name: 'Floating Dependencies' | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node: | ||
- '12' | ||
- '14' | ||
timeout-minutes: 10 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: volta-cli/action@v1 | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
|
||
- run: npm install --no-package-lock | ||
- name: Test with Node ${{ matrix.node }} | ||
node-version: 14.x | ||
cache: npm | ||
- name: Install Dependencies | ||
run: npm install --no-shrinkwrap | ||
- name: Run Tests | ||
run: npm run test:ember | ||
|
||
try-scenarios: | ||
if: "! contains(toJSON(github.event.commits.*.message), '[skip ci]')" | ||
name: 'Compatibility' | ||
timeout-minutes: 5 | ||
name: ${{ matrix.try-scenario }} | ||
runs-on: ubuntu-latest | ||
needs: tests | ||
needs: 'test' | ||
timeout-minutes: 10 | ||
|
||
strategy: | ||
fail-fast: true | ||
fail-fast: false | ||
matrix: | ||
ember-try-scenario: | ||
- ember-lts-3.20 | ||
try-scenario: | ||
- ember-lts-3.24 | ||
- ember-lts-3.28 | ||
- ember-release | ||
# - ember-beta | ||
# - ember-canary | ||
- ember-beta | ||
- ember-canary | ||
- ember-classic | ||
- embroider-safe | ||
- embroider-optimized | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: volta-cli/action@v1 | ||
- uses: actions/checkout@v3 | ||
- name: Install Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 14.x | ||
- name: install dependencies | ||
cache: npm | ||
- name: Install Dependencies | ||
run: npm ci | ||
- name: test | ||
run: node_modules/.bin/ember try:one ${{ matrix.ember-try-scenario }} --skip-cleanup | ||
- name: Run Tests | ||
run: ./node_modules/.bin/ember try:one ${{ matrix.try-scenario }} |
This file was deleted.
Oops, something went wrong.
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
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
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
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
Oops, something went wrong.