-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: cleanup pnpm configuration, polish test harness (#8278)
- Loading branch information
Showing
35 changed files
with
5,130 additions
and
6,062 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 |
---|---|---|
@@ -0,0 +1,54 @@ | ||
name: Ecosystem Compat Tests | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
concurrency: | ||
group: compat-${{ github.head_ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
fastboot: | ||
timeout-minutes: 5 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ./.github/actions/setup | ||
with: | ||
restore-broccoli-cache: true | ||
install: true | ||
build-addons: true | ||
- name: Run Tests | ||
run: pnpm test:fastboot | ||
floating-dependencies: | ||
timeout-minutes: 5 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ./.github/actions/setup | ||
- name: Install dependencies w/o lockfile | ||
run: pnpm install --no-lockfile | ||
- name: Build V2 Addons | ||
run: pnpm build-v2-addons && pnpm install | ||
- name: Basic Tests | ||
run: pnpm test | ||
node-version-test: | ||
name: Use Node.js ${{ matrix.node-version }} | ||
timeout-minutes: 8 | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [14.x, 18.x] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ./.github/actions/setup | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
restore-broccoli-cache: true | ||
install: true | ||
build-addons: true | ||
- name: Basic Tests | ||
run: pnpm test | ||
|
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
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,12 @@ | ||
# package-import-method=hardlink | ||
# module-exists will report false answers for the test apps | ||
# unless we avoid hoisting | ||
hoist=true | ||
# Fastboot Doesnt respect node_modules resolution for whitelisted deps | ||
# https://github.com/ember-fastboot/ember-cli-fastboot/issues/901 | ||
hoist-pattern[]=*abortcontroller-polyfill* | ||
hoist-pattern[]=*node-fetch* | ||
|
||
# we want true but cannot use true until the below issue is fixed | ||
# https://github.com/pnpm/pnpm/issues/5340 | ||
strict-peer-dependencies=false |
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
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.