-
Notifications
You must be signed in to change notification settings - Fork 379
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
182 additions
and
48 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,49 +12,90 @@ concurrency: | |
cancel-in-progress: true | ||
|
||
jobs: | ||
lint: | ||
name: Lint | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: pnpm/[email protected] | ||
with: | ||
version: 8 | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18.x | ||
cache: pnpm | ||
|
||
- name: 'Install dependencies' | ||
run: pnpm install --frozen-lockfile | ||
|
||
- name: Lint | ||
run: pnpm --filter ember-basic-dropdown lint | ||
|
||
test: | ||
name: "Tests" | ||
runs-on: ubuntu-latest | ||
needs: lint | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
|
||
- uses: pnpm/[email protected] | ||
with: | ||
version: 8 | ||
|
||
- name: Install Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
cache: npm | ||
node-version: 18.x | ||
cache: pnpm | ||
|
||
- name: Install Dependencies | ||
run: npm ci | ||
- name: Lint | ||
run: npm run lint | ||
run: pnpm install --frozen-lockfile | ||
|
||
- name: Run Tests | ||
run: npm run test | ||
run: pnpm --filter test-app test:ember | ||
|
||
floating: | ||
name: "Floating Dependencies" | ||
runs-on: ubuntu-latest | ||
needs: lint | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: pnpm/[email protected] | ||
with: | ||
version: 8 | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
cache: npm | ||
node-version: 18.x | ||
cache: pnpm | ||
|
||
- name: Install Dependencies | ||
run: npm ci | ||
run: pnpm install --frozen-lockfile | ||
|
||
- name: Run Tests | ||
run: npm run test | ||
run: pnpm --filter test-app test:ember | ||
|
||
try-scenarios: | ||
name: ${{ matrix.try-scenario }} | ||
runs-on: ubuntu-latest | ||
needs: 'test' | ||
continue-on-error: true | ||
needs: test | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
try-scenario: | ||
- ember-lts-3.28 | ||
- ember-lts-4.4 | ||
- ember-lts-4.8 | ||
- ember-lts-4.12 | ||
- ember-5.4 | ||
- ember-release | ||
- ember-beta | ||
- ember-canary | ||
|
@@ -63,12 +104,21 @@ jobs: | |
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
|
||
- uses: pnpm/[email protected] | ||
with: | ||
version: 8 | ||
|
||
- name: Install Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
cache: npm | ||
node-version: 18.x | ||
cache: pnpm | ||
|
||
- name: Install Dependencies | ||
run: npm ci | ||
run: pnpm install --frozen-lockfile | ||
|
||
- name: Run Tests | ||
run: ./node_modules/.bin/ember try:one ${{ matrix.try-scenario }} | ||
working-directory: test-app | ||
env: | ||
EMBER_TRY_SCENARIO: ${{ matrix.try-scenario }} | ||
run: pnpm --filter test-app test:ember-try $EMBER_TRY_SCENARIO |
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 |
---|---|---|
@@ -0,0 +1,54 @@ | ||
name: Docs CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- master | ||
pull_request: | ||
|
||
jobs: | ||
lint: | ||
name: Lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: pnpm/[email protected] | ||
with: | ||
version: 8 | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18.x | ||
cache: 'pnpm' | ||
|
||
- name: 'Install dependencies' | ||
run: pnpm install --frozen-lockfile | ||
|
||
- name: Lint | ||
run: pnpm --filter docs lint | ||
|
||
test: | ||
name: "Tests" | ||
runs-on: ubuntu-latest | ||
needs: lint | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: pnpm/[email protected] | ||
with: | ||
version: 8 | ||
|
||
- name: Install Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18.x | ||
cache: pnpm | ||
|
||
- name: Install Dependencies | ||
run: pnpm install --frozen-lockfile | ||
|
||
- name: Run Tests | ||
run: pnpm --filter docs test:ember |
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