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

chore: run tests in ci #28

Merged
merged 3 commits into from
Jan 25, 2024
Merged

chore: run tests in ci #28

merged 3 commits into from
Jan 25, 2024

Conversation

connorlindsey
Copy link
Contributor

@connorlindsey connorlindsey commented Jan 25, 2024

Adds basic ci github action to run tests. Note, Turborepo already detects which packages have been changed and will only run tests in updated packages, so no need for paths-filter or similar checks.

Screenshot 2024-01-25 at 9 33 56 AM

Copy link

changeset-bot bot commented Jan 25, 2024

⚠️ No Changeset found

Latest commit: 6972215

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@@ -32,7 +32,8 @@
"lint": "eslint \"src/**/*.+(ts|js|tsx)\"",
"format": "prettier \"src/**/*.{js,ts,tsx}\" --write",
"format:check": "prettier \"src/**/*.{js,ts,tsx}\" --check",
"test": "vitest",
"test": "vitest run",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Vitest run in watch mode by default locally which conflicts with Turborepo's caching, so we need to specify separate commands.

.github/workflows/cicd.yml Outdated Show resolved Hide resolved
@connorlindsey connorlindsey requested a review from kylemcd January 25, 2024 18:20
@connorlindsey connorlindsey merged commit 73e2869 into main Jan 25, 2024
1 check passed
@connorlindsey connorlindsey deleted the connor-kno-5088-ci-cd branch January 25, 2024 18:41
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.

2 participants