Fix uploading of codecov bundle reports
This commit is contained in:
2
.github/workflows/coverage.yaml
vendored
2
.github/workflows/coverage.yaml
vendored
@@ -67,7 +67,7 @@ jobs:
|
||||
working-directory: ./frontend
|
||||
run: npm run build
|
||||
env:
|
||||
UPLOAD_CODECOV_BUNDLE: "true"
|
||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||
|
||||
- name: Test
|
||||
working-directory: ./frontend
|
||||
|
||||
@@ -71,12 +71,10 @@ export default defineConfig((env) => ({
|
||||
tanStackRouter(),
|
||||
|
||||
codecovVitePlugin({
|
||||
enableBundleAnalysis: process.env.UPLOAD_CODECOV_BUNDLE === "true",
|
||||
enableBundleAnalysis: process.env.CODECOV_TOKEN !== undefined,
|
||||
bundleName: "mas-frontend",
|
||||
uploadToken: process.env.CODECOV_TOKEN,
|
||||
gitService: "github",
|
||||
oidc: {
|
||||
useGitHubOIDC: true,
|
||||
},
|
||||
}),
|
||||
|
||||
// Custom plugin to make sure that each asset has an entry in the manifest
|
||||
|
||||
Reference in New Issue
Block a user