-
-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #772 from leoeuclids/migration/pnpm
Migrate to pnpm
- Loading branch information
Showing
24 changed files
with
13,914 additions
and
13,043 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 |
---|---|---|
|
@@ -18,49 +18,53 @@ jobs: | |
timeout-minutes: 20 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install Node | ||
uses: actions/setup-node@v3 | ||
- uses: actions/checkout@v4 | ||
- uses: pnpm/action-setup@v3 | ||
with: | ||
node-version: 16.x | ||
cache: yarn | ||
version: 8 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18 | ||
cache: pnpm | ||
|
||
- name: Install Dependencies | ||
run: yarn install --frozen-lockfile | ||
run: pnpm install --frozen-lockfile | ||
|
||
- name: Lint Addon | ||
run: yarn lint | ||
run: pnpm lint | ||
working-directory: addon | ||
|
||
- name: Lint Test App | ||
run: yarn lint | ||
run: pnpm lint | ||
working-directory: test-app | ||
|
||
- name: Run Tests | ||
run: yarn test:ember | ||
run: pnpm test:ember | ||
working-directory: test-app | ||
|
||
test-docs: | ||
name: "Test Docs" | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install Node | ||
uses: actions/setup-node@v3 | ||
- uses: actions/checkout@v4 | ||
- uses: pnpm/action-setup@v3 | ||
with: | ||
version: 8 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 16.x | ||
cache: yarn | ||
node-version: 18 | ||
cache: pnpm | ||
|
||
- name: Install Dependencies | ||
run: yarn install --frozen-lockfile | ||
run: pnpm install --frozen-lockfile | ||
|
||
- name: Lint | ||
run: yarn lint | ||
run: pnpm lint | ||
working-directory: docs | ||
|
||
- name: Run Tests | ||
run: yarn test:ember | ||
run: pnpm test:ember | ||
working-directory: docs | ||
|
||
floating: | ||
|
@@ -69,17 +73,20 @@ jobs: | |
timeout-minutes: 20 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
- uses: actions/checkout@v4 | ||
- uses: pnpm/action-setup@v3 | ||
with: | ||
version: 8 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 16.x | ||
cache: yarn | ||
node-version: 18 | ||
cache: pnpm | ||
|
||
- name: Install Dependencies | ||
run: yarn install --no-lockfile | ||
run: pnpm install --frozen-lockfile | ||
|
||
- name: Run Tests | ||
run: yarn test:ember | ||
run: pnpm test:ember | ||
working-directory: test-app | ||
|
||
try-scenarios: | ||
|
@@ -105,18 +112,20 @@ jobs: | |
- embroider-optimized | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install Node | ||
uses: actions/setup-node@v3 | ||
- uses: actions/checkout@v4 | ||
- uses: pnpm/action-setup@v3 | ||
with: | ||
node-version: 16.x | ||
cache: yarn | ||
version: 8 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18 | ||
cache: pnpm | ||
|
||
- name: Install Dependencies | ||
run: yarn install --frozen-lockfile | ||
run: pnpm install --frozen-lockfile | ||
|
||
- name: Run Tests | ||
run: ../node_modules/.bin/ember try:one ${{ matrix.try-scenario }} | ||
run: ./node_modules/.bin/ember try:one ${{ matrix.try-scenario }} | ||
working-directory: test-app | ||
|
||
ember-modifier-scenarios: | ||
|
@@ -135,20 +144,22 @@ jobs: | |
- [email protected] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install Node | ||
uses: actions/setup-node@v3 | ||
- uses: actions/checkout@v4 | ||
- uses: pnpm/action-setup@v3 | ||
with: | ||
version: 8 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 16.x | ||
cache: yarn | ||
node-version: 18 | ||
cache: pnpm | ||
|
||
- name: Install Dependencies | ||
run: yarn install --frozen-lockfile | ||
run: pnpm install --frozen-lockfile | ||
|
||
- name: Update ember-modifier version | ||
run: yarn add -D ${{ matrix.ember-modifier-scenario }} | ||
run: pnpm add ${{ matrix.ember-modifier-scenario }} | ||
working-directory: addon | ||
|
||
- name: Run Tests | ||
run: yarn test:ember | ||
run: pnpm test:ember | ||
working-directory: test-app |
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 |
---|---|---|
|
@@ -22,4 +22,3 @@ | |
/npm-shrinkwrap.json.ember-try | ||
/package.json.ember-try | ||
/package-lock.json.ember-try | ||
/yarn.lock.ember-try |
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 |
---|---|---|
|
@@ -22,4 +22,3 @@ | |
/npm-shrinkwrap.json.ember-try | ||
/package.json.ember-try | ||
/package-lock.json.ember-try | ||
/yarn.lock.ember-try |
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 |
---|---|---|
|
@@ -22,4 +22,3 @@ | |
/npm-shrinkwrap.json.ember-try | ||
/package.json.ember-try | ||
/package-lock.json.ember-try | ||
/yarn.lock.ember-try |
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.