mirror of
https://code.forgejo.org/actions/checkout.git
synced 2026-06-17 18:36:24 +00:00
fix ci failures
This commit is contained in:
parent
92a02296ed
commit
c57f932d5d
2 changed files with 10 additions and 1 deletions
|
|
@ -11,4 +11,5 @@ allowed:
|
|||
- unlicense
|
||||
|
||||
reviewed:
|
||||
npm:
|
||||
npm:
|
||||
- "@actions/http-client" # MIT
|
||||
|
|
|
|||
|
|
@ -28,6 +28,14 @@ jest.unstable_mockModule('@actions/core', () => ({
|
|||
// Dynamic imports after mocking
|
||||
const core = await import('@actions/core')
|
||||
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 git: IGitCommandManager
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue