-
Notifications
You must be signed in to change notification settings - Fork 18
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
Draft PR to test CI/test workflows #134
base: main
Are you sure you want to change the base?
Conversation
…EUED status on Vercel
|
||
const DATABASE_URL = process.env.VITE_NEON_DB_URL!; | ||
|
||
test('basic query using drizzle-orm with https fetch', async () => { |
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.
WDYT about setting up a project with Neon Authorize enabled and test with passing the auth token using the authenticated
role?
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.
Yeah, that's a good idea. It will also teach me to use Neon Authorize ...
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.
I think the only remaining issue here is finding a company Vercel token that works ... |
This PR does two big things:
Automatic generation of types. As part of this, additional types information has been moved across to some of the source
.ts
files (mainly around http queries).Adds a wide range of tests, in
tests/
.There's still a load of clean-up to be done, which is what I will be working on next. In the meantime, probably best to ignore the contents of
dist/
, which we'll probably stop committing in future.