Skip to content

Commit

Permalink
ci: use older conventional-changelog-conventionalcommits
Browse files Browse the repository at this point in the history
  • Loading branch information
soumyamahunt authored Sep 20, 2024
1 parent 9615525 commit 80ae8e1
Show file tree
Hide file tree
Showing 5 changed files with 783 additions and 1,481 deletions.
2 changes: 1 addition & 1 deletion .github/changelog/config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
'use strict'
import config from 'conventional-changelog-conventionalcommits';
const config = require('conventional-changelog-conventionalcommits');

module.exports = config({
types: [
Expand Down
4 changes: 2 additions & 2 deletions .github/changelog/pre_changelog_hook.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'
import semver from 'semver';
import core from '@actions/core';
const semver = require('semver');
const core = require('@actions/core');

exports.preVersionGeneration = (version) => {
const {VERSION} = process.env;
Expand Down
4 changes: 2 additions & 2 deletions .github/changelog/pre_commit_hook.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'
import core from '@actions/core';
import {exec} from '@actions/exec';
const core = require('@actions/core');
const {exec} = require('@actions/exec');

exports.preCommit = async (props) => {
core.startGroup(`Bundling`);
Expand Down
Loading

0 comments on commit 80ae8e1

Please sign in to comment.