ESM-only with updated @octokit dependencies

This commit is contained in:
Lokesh Gopu
2026-01-27 15:35:32 -05:00
parent ecdfc18bf2
commit b05d26b3fa
12 changed files with 62 additions and 23 deletions
+7
View File
@@ -1,5 +1,12 @@
# @actions/github Releases
### 9.0.0
- **Breaking change**: Package is now ESM-only
- CommonJS consumers must use dynamic `import()` instead of `require()`
- Example: `const { getOctokit, context } = await import('@actions/github')`
- Fix TypeScript compilation by migrating to ESM, enabling proper imports from `@octokit/core/types`
### 8.0.1
- Update `undici` to `6.23.0`