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

Add support for pnpm 9 #24

Merged
merged 2 commits into from
Oct 11, 2024
Merged

Conversation

robinvw1
Copy link
Contributor

@robinvw1 robinvw1 commented Aug 22, 2024

After adding support for pnpm 8, I'm now adding support for pnpm 9.

pnpm 9 was released this Apr 16: https://github.com/pnpm/pnpm/releases/tag/v9.0.0

They dropped support for Node.js 16, so I've updated the matrix. Also fixed the CI that was failing.

Comment on lines +59 to +68
- uses: actions/github-script@v7
id: calculate_architecture
with:
result-encoding: string
script: |
if ('${{ matrix.os }}' === 'macos-latest' && ['10', '12', '14'].includes('${{ matrix.node }}')) {
return "x64"
} else {
return ''
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Some context:

So we fallback to x64 on those versions.

Step is copied from webpack: webpack/webpack#18359

@robinvw1
Copy link
Contributor Author

robinvw1 commented Sep 9, 2024

@jonathanmorley any time to review this?

@jonathanmorley jonathanmorley merged commit 85221d3 into jonathanmorley:master Oct 11, 2024
54 checks passed
@robinvw1 robinvw1 deleted the pnpm-9 branch October 14, 2024 08:33
@robinvw1
Copy link
Contributor Author

Thanks for merging @jonathanmorley. 🫶

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants