Skip to content

Commit 99367da

Browse files
committed
Fix imports from @actions/core and @actions/github
1 parent 0f9a085 commit 99367da

File tree

9 files changed

+63
-77
lines changed

9 files changed

+63
-77
lines changed

dist/index.js

Lines changed: 52 additions & 66 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/annotations.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import core from '@actions/core'
1+
import * as core from '@actions/core'
22
import type { SourceFileIssue } from '@code-pushup/ci'
33
import { CODE_PUSHUP_UNICODE_LOGO } from '@code-pushup/utils'
44

src/api.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { ArtifactClient } from '@actions/artifact'
2-
import core from '@actions/core'
3-
import github from '@actions/github'
2+
import * as core from '@actions/core'
3+
import * as github from '@actions/github'
44
import type { Comment, GitRefs, ProviderAPIClient } from '@code-pushup/ci'
55
import type { components } from '@octokit/openapi-types'
66
import { downloadReportArtifact } from './artifact'

src/artifact.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import {
33
type ArtifactClient,
44
type FindOptions
55
} from '@actions/artifact'
6-
import core from '@actions/core'
7-
import github from '@actions/github'
6+
import * as core from '@actions/core'
7+
import * as github from '@actions/github'
88
import type { ArtifactData, GitBranch } from '@code-pushup/ci'
99
import { DEFAULT_PERSIST_FILENAME } from '@code-pushup/models'
1010
import { projectToFilename } from '@code-pushup/utils'

src/inputs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import core from '@actions/core'
1+
import * as core from '@actions/core'
22
import {
33
MONOREPO_TOOLS,
44
isMonorepoTool,

src/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { DefaultArtifactClient } from '@actions/artifact'
2-
import core from '@actions/core'
3-
import github from '@actions/github'
2+
import * as core from '@actions/core'
3+
import * as github from '@actions/github'
44
import { runInCI } from '@code-pushup/ci'
55
import { simpleGit } from 'simple-git'
66
import { createAnnotationsFromIssues } from './annotations'

src/options.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import core from '@actions/core'
1+
import * as core from '@actions/core'
22
import type { Options } from '@code-pushup/ci'
33
import type { ActionInputs } from './inputs'
44

src/refs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import github from '@actions/github'
1+
import * as github from '@actions/github'
22
import type { WebhookPayload } from '@actions/github/lib/interfaces'
33
import type { GitBranch, GitRefs } from '@code-pushup/ci'
44
import type { components } from '@octokit/openapi-types'

0 commit comments

Comments
 (0)