Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes several changes to the GitHub workflows and the
FactorioIgnoreParser
class to improve functionality and efficiency. The most important changes are grouped into workflow improvements and code enhancements.Workflow Improvements:
.github/workflows/release.yml
: Updated the release workflow to include branch and path filters, usenpm ci
instead ofnpm install
, and refactored steps for better organization and efficiency..github/workflows/test.yml
: Renamed fromtest-all.yml
and added branch and path filters to ignore certain files..github/workflows/tests-release.yml
: Removed the workflow file as it is no longer needed..github/workflows/update-latest-tag.yml
: Removed the workflow file as the functionality has been integrated into the release workflow..github/workflows/update-main-version.yml
: Added a new version option (v3
) to the update main version workflow.Code Enhancements:
package.json
: Corrected the package name typo and updated the version from2.0.1
to2.0.2
.src/__tests__/factorioIgnoreParser.test.ts
: Modified the test case to ensure that empty directories are not created and adjusted the mock values accordingly.src/services/FactorioIgnoreParser.ts
: Updated theFactorioIgnoreParser
class to only create the destination directory if necessary, improving the efficiency of the file copying process. [1] [2]New GitHub Actions workflow for CodeQL analysis:
.github/workflows/codeql.yml
: Added a new workflow file to perform CodeQL analysis on pull requests to themain
branch and on a weekly schedule. The workflow includes steps to checkout the repository, initialize CodeQL, and perform the analysis. It supports multiple languages and allows customization of the build mode and queries.