Commit Graph
12 Commits
Author SHA1 Message Date
Chiranjib Swain 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
Josh Dales 4554c0d1af Add a bunch more tests 2023-03-25 16:07:56 -04:00
Josh Dales 3bec9227d1 Add any and all functions for both checks 2023-03-24 21:51:33 -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 65b7640e45 Add unit tests for toMatchConfig 2023-03-18 17:15:18 -04:00
Josh Dales 394a01bde3 Make getBranchName argument non-optional 2023-03-03 11:15:48 -05:00
Josh DalesandMaksimZhukov 2a5bc55cbf Fix bad test descriptions
Co-authored-by: MaksimZhukov <46996400+MaksimZhukov@users.noreply.github.com>
2023-03-03 09:28:40 -05:00
Josh Dales 56347d54a1 Add unit tests for toBranchMatchConfig 2023-02-21 08:30:24 -05:00
Josh Dales 09f085373a Fix some typos in the branch checks 2023-02-19 12:17:15 -05:00
Josh Dales 2daf35ae4b Add an extra test now that we can check the base branch 2023-01-28 18:08:48 -05:00
Josh Dales 0b6e68d75a Add options for getting the head or base branch 2023-01-28 17:57:52 -05:00
Josh Dales cd3a8df80d Create a test file for branch 2023-01-28 16:45:29 -05:00