Skip to content

Commit 80ae8e1

Browse files
authored
ci: use older conventional-changelog-conventionalcommits
1 parent 9615525 commit 80ae8e1

File tree

5 files changed

+783
-1481
lines changed

5 files changed

+783
-1481
lines changed

.github/changelog/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
'use strict'
2-
import config from 'conventional-changelog-conventionalcommits';
2+
const config = require('conventional-changelog-conventionalcommits');
33

44
module.exports = config({
55
types: [

.github/changelog/pre_changelog_hook.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict'
2-
import semver from 'semver';
3-
import core from '@actions/core';
2+
const semver = require('semver');
3+
const core = require('@actions/core');
44

55
exports.preVersionGeneration = (version) => {
66
const {VERSION} = process.env;

.github/changelog/pre_commit_hook.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict'
2-
import core from '@actions/core';
3-
import {exec} from '@actions/exec';
2+
const core = require('@actions/core');
3+
const {exec} = require('@actions/exec');
44

55
exports.preCommit = async (props) => {
66
core.startGroup(`Bundling`);

0 commit comments

Comments
 (0)