File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
'use strict'
2
- const config = require ( 'conventional-changelog-conventionalcommits' ) ;
2
+ import config from 'conventional-changelog-conventionalcommits' ;
3
3
4
4
module . exports = config ( {
5
5
types : [
Original file line number Diff line number Diff line change 1
1
'use strict'
2
- const semver = require ( 'semver' ) ;
3
- const core = require ( '@actions/core' ) ;
2
+ import semver from 'semver' ;
3
+ import core from '@actions/core' ;
4
4
5
5
exports . preVersionGeneration = ( version ) => {
6
6
const { VERSION } = process . env ;
Original file line number Diff line number Diff line change 1
1
'use strict'
2
- const core = require ( '@actions/core' ) ;
3
- const { exec} = require ( '@actions/exec' ) ;
2
+ import core from '@actions/core' ;
3
+ import { exec } from '@actions/exec' ;
4
4
5
5
exports . preCommit = async ( props ) => {
6
6
core . startGroup ( `Bundling` ) ;
You can’t perform that action at this time.
0 commit comments