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

ci: Set up CI with GitHub Actions to run Vitest tests #4

Merged
merged 2 commits into from
May 18, 2024
Merged

Conversation

waynexia
Copy link
Owner

@waynexia waynexia commented May 18, 2024

Related to #3

Implements GitHub Actions CI to run Vitest tests on every push and pull request.

  • Workflow Configuration: Adds a new GitHub Actions workflow file .github/workflows/ci.yml that triggers on every push and pull request to any branch.
  • Node.js Setup: Utilizes the actions/setup-node@v4 action to set up Node.js version 21.
  • Dependency Installation: Executes pnpm install to install project dependencies.
  • Test Execution: Runs Vitest tests using the command pnpm test run.

For more details, open the Copilot Workspace session.

@waynexia waynexia linked an issue May 18, 2024 that may be closed by this pull request
@waynexia waynexia merged commit 91727d5 into main May 18, 2024
2 checks passed
@waynexia waynexia deleted the setup-ci branch May 18, 2024 14: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.

Set up CI to run vitest test for PR and commit
1 participant