Skip to content
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

docs: add typeorm examples #255

Merged
merged 10 commits into from
Nov 24, 2023
Merged

docs: add typeorm examples #255

merged 10 commits into from
Nov 24, 2023

Conversation

ruyadorno
Copy link
Contributor

Adds TypeORM samples along with a new CI target to run tests against the provided samples, making sure they're always valid usage.

Fixes: #112

Copy link
Collaborator

@jackwotherspoon jackwotherspoon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thoughts on maybe adding sub-folders for mysql, postgres, and sql server? To de-clutter the typeorm folder?

@ruyadorno
Copy link
Contributor Author

ruyadorno commented Nov 23, 2023

Thoughts on maybe adding sub-folders for mysql, postgres, and sql server? To de-clutter the typeorm folder?

sounds like a good idea, I'm just thinking what a good file name for each sample would be in that case 🤔

Adds TypeORM samples along with a new CI target to run tests against the
provided samples, making sure they're always valid usage.

Fixes: #112

- name: Link self-direct dependency
run: npm link @google-cloud/cloud-sql-connector

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

moved this block since it was interfering with the npm uninstall from the Setup v14.x-compatible tap step above

@ruyadorno ruyadorno enabled auto-merge (squash) November 23, 2023 19:29
.github/workflows/coverage.yml Show resolved Hide resolved
Comment on lines 317 to 321
permissions:
contents: 'read'
id-token: 'write'
issues: write
pull-requests: write
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are all of these permissions reqquired? issues and pull_request are for flakybot... we are not running flakybot here are we?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

worth maybe testing removing some...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need to run flakybot on these, I'll remove issues and pull_request then!

Copy link
Collaborator

@jackwotherspoon jackwotherspoon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some YAML cleanup to de-clutter and shorten file

.github/workflows/tests.yml Outdated Show resolved Hide resolved
.github/workflows/tests.yml Outdated Show resolved Hide resolved
.github/workflows/tests.yml Outdated Show resolved Hide resolved
.github/workflows/tests.yml Outdated Show resolved Hide resolved
.github/workflows/tests.yml Outdated Show resolved Hide resolved
ruyadorno and others added 5 commits November 24, 2023 10:53
Co-authored-by: Jack Wotherspoon <jackwoth@google.com>
Co-authored-by: Jack Wotherspoon <jackwoth@google.com>
Co-authored-by: Jack Wotherspoon <jackwoth@google.com>
Co-authored-by: Jack Wotherspoon <jackwoth@google.com>
Co-authored-by: Jack Wotherspoon <jackwoth@google.com>
@ruyadorno ruyadorno merged commit 19066b1 into main Nov 24, 2023
24 checks passed
@ruyadorno ruyadorno deleted the add-examples-typeorm branch November 24, 2023 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Document how to use TypeORM
2 participants