3
0
Fork 0
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:
Aiqiao Yan 2026-06-16 20:41:05 +00:00
parent 92a02296ed
commit c57f932d5d
2 changed files with 10 additions and 1 deletions

View file

@ -11,4 +11,5 @@ allowed:
- unlicense
reviewed:
npm:
npm:
- "@actions/http-client" # MIT

View file

@ -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