mirror of
https://github.com/actions/checkout.git
synced 2026-06-17 20:25:56 +00:00
fix ci failures
This commit is contained in:
parent
92a02296ed
commit
c57f932d5d
@ -12,3 +12,4 @@ allowed:
|
|||||||
|
|
||||||
reviewed:
|
reviewed:
|
||||||
npm:
|
npm:
|
||||||
|
- "@actions/http-client" # MIT
|
||||||
|
|||||||
@ -28,6 +28,14 @@ jest.unstable_mockModule('@actions/core', () => ({
|
|||||||
// Dynamic imports after mocking
|
// Dynamic imports after mocking
|
||||||
const core = await import('@actions/core')
|
const core = await import('@actions/core')
|
||||||
const gitDirectoryHelper = await import('../src/git-directory-helper.js')
|
const gitDirectoryHelper = await import('../src/git-directory-helper.js')
|
||||||
|
|
||||||
|
type IGitCommandManager =
|
||||||
|
import('../src/git-command-manager.js').IGitCommandManager
|
||||||
|
|
||||||
|
const testWorkspace = path.join(__dirname, '_temp', 'git-directory-helper')
|
||||||
|
let repositoryPath: string
|
||||||
|
let repositoryUrl: string
|
||||||
|
let clean: boolean
|
||||||
let ref: string
|
let ref: string
|
||||||
let git: IGitCommandManager
|
let git: IGitCommandManager
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user