Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to pnpm #772

Merged
merged 9 commits into from
Mar 14, 2024
Merged

Conversation

leoeuclids
Copy link
Contributor

@leoeuclids leoeuclids commented Mar 13, 2024

Migrates to pnpm

  • Package.json
  • CI
  • Upgrade to ember-cli-fastboot@4

@leoeuclids leoeuclids force-pushed the migration/pnpm branch 3 times, most recently from c19530d to f0578b8 Compare March 13, 2024 19:41
@@ -19,25 +19,20 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Install Node
uses: actions/setup-node@v3
- uses: wyvox/action-setup-pnpm@v2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@@ -16,17 +16,12 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Install Node
uses: actions/setup-node@v3
- uses: wyvox/action-setup-pnpm@v2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note for next step - replace this with put-built-npm-package-contents-on-branch per https://github.com/embroider-build/addon-blueprint/blob/main/files/.github/workflows/push-dist.yml

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've swapped the wyvox/action-setup-pnpm@v2 for the pnpm/action-setup@v3, as per the blueprint, but I'm not sure how to incorporate the put-built-npm-package-contents-on-branch in it. Should it just be added as the next step after Install dependecies?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@leoeuclids we basically should update this whole file to match https://github.com/embroider-build/addon-blueprint/blob/main/files/.github/workflows/push-dist.yml (replacing placeholders and if/else branching of course) we can do that in follow up PR

package.json Outdated
},
"devDependencies": {
"release-plan": "^0.8.0"
},
"volta": {
"node": "16.20.0",
"yarn": "1.22.18"
"node": "16.20.0"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as we bump for CI, worth to bump for development as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bumped

@SergeAstapov
Copy link
Contributor

Thank you @leoeuclids!

@SergeAstapov SergeAstapov merged commit bab34e6 into adopted-ember-addons:master Mar 14, 2024
18 checks passed
@leoeuclids
Copy link
Contributor Author

Thank you @SergeAstapov!

@github-actions github-actions bot mentioned this pull request Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants