Skip to content

Conversation

@rogeriolaa
Copy link
Owner

Creates a GitHub Actions workflow (.github/workflows/ci-tests.yml) that automatically runs tests for the main package.

Key features of the workflow:

  • Triggers on push to the main branch and on pull requests targeting main.
  • Runs jobs on ubuntu-latest.
  • Uses a matrix strategy to test against Node.js versions 18.x and 20.x.
  • Checks out the repository code.
  • Sets up the specified Node.js versions with npm caching enabled.
  • Installs project dependencies using npm install.
  • Runs tests using npm test.

Additionally, a placeholder for a CI status badge has been added to the main README.md for you to update once the workflow is active.

Creates a GitHub Actions workflow (`.github/workflows/ci-tests.yml`) that automatically runs tests for the main package.

Key features of the workflow:
- Triggers on push to the `main` branch and on pull requests targeting `main`.
- Runs jobs on `ubuntu-latest`.
- Uses a matrix strategy to test against Node.js versions 18.x and 20.x.
- Checks out the repository code.
- Sets up the specified Node.js versions with npm caching enabled.
- Installs project dependencies using `npm install`.
- Runs tests using `npm test`.

Additionally, a placeholder for a CI status badge has been added to the main `README.md` for you to update once the workflow is active.
@rogeriolaa rogeriolaa merged commit 7e6cd13 into main Jun 2, 2025
2 checks passed
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