Skip to content

Commit

Permalink
chore: try to fix require (#5956)
Browse files Browse the repository at this point in the history
  • Loading branch information
droshev authored Feb 21, 2025
1 parent d538641 commit 8e1a018
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/actions/bump-version/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
const recommendedVersion = require('conventional-recommended-bump');
let recommendedVersion;
(async () => {
recommendedVersion = (await import('conventional-recommended-bump')).default;
})();
const semver = require('semver');
const fs = require('fs');
const core = require('@actions/core');
Expand Down
5 changes: 4 additions & 1 deletion .github/actions/generate-conventional-release-notes/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
const conventionalChangelog = require('conventional-changelog');
let conventionalChangelog;
(async () => {
conventionalChangelog = (await import('conventional-recommended')).default;
})();
const core = require('@actions/core');
const through = require('through2');
const closestVersion = require('./closest-version');
Expand Down

0 comments on commit 8e1a018

Please sign in to comment.