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: Add ignore filter tests and improve ci #3

Merged
merged 4 commits into from
Jul 21, 2024

Conversation

yamadashy
Copy link
Owner

Overview:

This PR makes improvements to the GitHub Actions workflow and TypeScript code.

Changes:

  1. GitHub Actions Workflow:

    • Changed npm i to npm ci for clean installation of dependencies.
    • Added matrix testing for multiple OSes (ubuntu-latest, windows-latest, macos-latest) and Node.js versions (16.x, 18.x, 20.x).
    • Added CI_OS environment variable to indicate the runner OS.
  2. TypeScript Code:

    • Added IgnoreFilter type in gitignoreUtils.ts.
    • Updated ignoreFilter argument type to IgnoreFilter in packDirectory function.
    • Added new test cases for createIgnoreFilter function.
  3. Test Coverage:

    • Included all files in the src directory in the coverage target in vite.config.mts.

@yamadashy yamadashy force-pushed the feature/improve-ignore branch from 44b18cd to 7792cc6 Compare July 21, 2024 05:39
@yamadashy yamadashy merged commit 1e5a699 into main Jul 21, 2024
10 checks passed
@yamadashy yamadashy deleted the feature/improve-ignore branch July 21, 2024 05:44
@yamadashy yamadashy mentioned this pull request Jul 21, 2024
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.

1 participant