-
Notifications
You must be signed in to change notification settings - Fork 2
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
build: Upload Nuxt and SvelteKit example stats #138
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,6 @@ export default defineNuxtConfig({ | |
[ | ||
"@codecov/nuxt-plugin", | ||
{ | ||
dryRun: true, | ||
enableBundleAnalysis: true, | ||
bundleName: "@codecov/example-nuxt-app", | ||
uploadToken: process.env.VITE_UPLOAD_TOKEN, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. process.env is used directly to access environment variables, which is not safe for sensitive data such as tokens. I suggest either using a configuration file that can be ignored in version control, or a secure vault service to store and access sensitive data like tokens. |
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,6 @@ export default defineConfig({ | |
plugins: [ | ||
sveltekit(), | ||
codecovSvelteKitPlugin({ | ||
dryRun: true, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The |
||
enableBundleAnalysis: true, | ||
uploadToken: "test-token", | ||
bundleName: "@codecov/example-sveltekit-app", | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
dryRun
option is removed from here. Should it be added to the environment config or is it not required anymore for the@codecov/nuxt-plugin
?