17 Commits
Author SHA1 Message Date
Chiranjib SwainandGitHub bf12e9b00b feat: migrate to ESM and update dependencies (#949)
* feat: migrate to ESM and update dependencies

- Migrated the project to ESM to support the latest `@actions/*` package versions.
- Updated dependencies to their latest versions, including `@actions/core`, `@actions/github`, and others.
- Replaced `.prettierrc.js` with `.prettierrc.json` for configuration.
- Updated ESLint configuration to use ESM and added new rules.
- Refactored test files to use `jest` with ESM imports.
- Removed deprecated files and updated import paths to use `.js` extensions.
- Added new files for improved configuration and removed unnecessary mocks.
- Updated README to reflect breaking changes in version 7.

* docs: update README to clarify ESM migration details and adjust TypeScript configuration
2026-07-16 11:04:03 -05:00
MaksimZhukov 9181355e36 Apply suggestions for the beta vesrion and update the documentation 2023-10-31 13:09:20 +01:00
MaksimZhukov 917e5cce72 Merge branch 'main' 2023-10-24 12:11:31 +02:00
MaksimZhukovandGitHub f4eefdc659 [Beta] Implement the new structure of the match object for the changed-files section (#680)
* Implement the new structure of the match object for changed files section

* Replace inner loops with the find method
2023-09-20 13:43:39 +02:00
51cc5e079c Update text in test descriptions and logging
Co-authored-by: MaksimZhukov <46996400+MaksimZhukov@users.noreply.github.com>
2023-05-11 16:35:05 -04:00
Josh Dales 9cfddd0144 Consolidate the new any change files test into the old one 2023-05-05 09:05:40 -04:00
Josh Dales 3aa0d436e5 Better test description 2023-05-05 09:02:53 -04:00
Josh Dales 9488def29a Update tests and build 2023-05-05 08:58:23 -04:00
Josh Dales 2a3422a64e Better description for the new test 2023-04-13 15:15:10 -04:00
Josh Dales 2637d23bca Add test for when not all globs match any changed file 2023-04-13 14:58:52 -04:00
Josh Dales 3bec9227d1 Add any and all functions for both checks 2023-03-24 21:51:33 -04:00
Josh Dales a9e07ce8ff Add some new tests 2023-03-24 21:23:51 -04:00
Josh Dales 92990c0c57 Don't allow empty changed-files objects through 2023-03-20 17:40:28 -04:00
Josh Dales d0d3628020 Add extra tests and use toEqual matcher.
Turns out that toMatchObject would allow extra properties through
2023-03-20 17:40:28 -04:00
Josh Dales c31ee1fd86 Add more unit tests for changedFiles.ts 2023-03-18 16:44:50 -04:00
Josh Dales 3af9a47a26 Add unit tests for toChangedFilesMatchConfig 2023-03-18 16:44:49 -04:00
Josh Dales a988f4eb9d Add todo tests for changedFiles 2023-03-18 16:44:49 -04:00