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(functions/deploy): pin deno version for now #323

Merged
merged 1 commit into from
Aug 1, 2022

Conversation

soedirgo
Copy link
Member

@soedirgo soedirgo commented Aug 1, 2022

Fixes: supabase/supabase#7878

Latest Deno version's bundling is having some issues - downgrade to 1.20.3 for now, and later we can switch back to latest and use ESZip

@soedirgo soedirgo requested a review from sweatybridge as a code owner August 1, 2022 06:28
@@ -89,7 +89,7 @@ Enter your project ref: `, utils.GetSupabaseDashboardURL())
}
}

cmd := exec.Command(denoPath, "bundle", "--quiet", functionPath+"/index.ts")
cmd := exec.Command(denoPath, "bundle", "--no-check=remote", "--quiet", functionPath+"/index.ts")
Copy link
Member Author

Choose a reason for hiding this comment

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

latest version uses no-check by default, but 1.20.3 does not

Copy link
Contributor

@thorwebdev thorwebdev left a comment

Choose a reason for hiding this comment

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

LGTM, thanks.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 2772732738

  • 0 of 2 (0.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 21.553%

Changes Missing Coverage Covered Lines Changed/Added Lines %
internal/functions/deploy/deploy.go 0 1 0.0%
internal/utils/misc.go 0 1 0.0%
Totals Coverage Status
Change from base Build 2772578017: 0.0%
Covered Lines: 1105
Relevant Lines: 5127

💛 - Coveralls

@soedirgo soedirgo merged commit 9f8eafe into main Aug 1, 2022
@soedirgo soedirgo deleted the fix/functions-deploy/pin-deno-version branch August 1, 2022 06:32
@github-actions
Copy link

github-actions bot commented Aug 1, 2022

🎉 This PR is included in version 0.32.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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.

Edge functions break when Stripe is added
3 participants