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

fix: fallback to 41.1.4 instead of 25.1.0 #267

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hunterliu1003
Copy link

I have the issue #266 and after some research I have found out that it was caused by the fallback version of vercel.

vercel-action/index.js

Lines 58 to 63 in 16e87c0

// Vercel
function getVercelBin() {
const input = core.getInput('vercel-version');
const fallback = packageJSON.dependencies.vercel;
return `vercel@${input || fallback}`;
}

"vercel": "25.1.0",

Currently the fallback version of vercel is 25.1.0 and it's a version that being released three years ago. But the latest version of vercel is 41.1.4. I believe only a few people still using the older version.

截圖 2025-02-19 19 47 02

I am not sure if it's best to use latest version of vercel as much as possible by default, and users can still use older version through out using vercel-version.

Copy link

Deploy preview for team-scope-test ready!

✅ Preview
https://team-scope-test-acog54zu2-dietfriends.vercel.app

Built with commit 2580328.
This pull request is being automatically deployed with vercel-action

Copy link

Deploy preview for zeit-now-deployment-action-example-static ready!

✅ Preview
https://zeit-now-deployment-action-example-static-ng54e52ke.vercel.app
https://staging.static.vercel-action.amond.dev
https://pr-267.static.vercel-action.amond.dev

Built with commit 2580328.
This pull request is being automatically deployed with vercel-action

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.

1 participant