-
Notifications
You must be signed in to change notification settings - Fork 346
fix(repo): Always load local clerk-js when running integration tests #2025
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
Conversation
|
- name: Run Integration Tests | ||
run: npm run test:integration:${{ matrix.test-name }} | ||
run: E2E_APP_CLERK_JS_DIR=$RUNNER_TEMP npm run test:integration:${{ matrix.test-name }} |
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.
Nit: Define the env var in the env
section below that script
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.
Opening a second PR, thanks @LekoArts that's cleaner
@@ -63,9 +61,10 @@ export const application = (config: ApplicationConfig, appDirPath: string, appDi | |||
stderr: opts.detached ? fs.openSync(stderrFilePath, 'a') : undefined, | |||
log: opts.detached ? undefined : log, | |||
}); | |||
// const shouldRetry = () => proc.exitCode !== 0 && proc.exitCode !== null; |
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.
Nit: Dead comment
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.
This should've been a todo - changing it in the new PR
Description
http-server
as a deptreekill
to correctly await itChecklist
npm test
runs as expected.npm run build
runs as expected.Type of change
Packages affected
@clerk/backend
@clerk/chrome-extension
@clerk/clerk-js
@clerk/clerk-expo
@clerk/fastify
gatsby-plugin-clerk
@clerk/localizations
@clerk/nextjs
@clerk/clerk-react
@clerk/remix
@clerk/clerk-sdk-node
@clerk/shared
@clerk/themes
@clerk/types
build/tooling/chore