Skip to content

Commit

Permalink
fix(ci): add cross-env dep and use with LOG_BUNDLE_SIZE (#6819)
Browse files Browse the repository at this point in the history
The windows e2e test fails because `LOG_BUNDLE_SIZE` isn't recognized as
a env var on windows. Using `cross-env` allows us to easily set it
across platforms

## Test plan
CI
  • Loading branch information
burmudar authored Jan 27, 2025
1 parent ef65034 commit 45de752
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
11 changes: 11 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"version-bump:minor": "RELEASE_TYPE=minor ts-node-transpile-only ./scripts/version-bump.ts",
"version-bump:patch": "RELEASE_TYPE=patch ts-node-transpile-only ./scripts/version-bump.ts",
"version-bump:dry-run": "RELEASE_TYPE=prerelease ts-node-transpile-only ./scripts/version-bump.ts",
"measure-bundle-size": "LOG_BUNDLE_SIZE=true ts-node-transpile-only ./scripts/measure-bundle-size.ts"
"measure-bundle-size": "cross-env LOG_BUNDLE_SIZE=true ts-node-transpile-only ./scripts/measure-bundle-size.ts"
},
"categories": ["AI", "Chat", "Programming Languages", "Machine Learning", "Snippets", "Education"],
"keywords": [
Expand Down Expand Up @@ -1530,6 +1530,7 @@
"chokidar": "^3.6.0",
"commander": "^11.1.0",
"concurrently": "^8.2.0",
"cross-env": "^7.0.3",
"dedent": "^0.7.0",
"dotenv": "^16.4.5",
"esbuild": "^0.18.20",
Expand Down

0 comments on commit 45de752

Please sign in to comment.