Skip to content

Commit

Permalink
chore(deps): update dependency prettier to v3 (#745)
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Jul 15, 2023
1 parent b640c4a commit 48c0e75
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"eslint-plugin-jest": "27.2.3",
"jest": "29.6.1",
"js-yaml": "4.1.0",
"prettier": "2.8.8",
"prettier": "3.0.0",
"proxy": "2.1.1",
"ts-jest": "29.1.1",
"typescript": "5.1.6"
Expand Down
2 changes: 1 addition & 1 deletion src/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const handlePullRequest = async (
submitMetrics: SubmitMetrics,
e: PullRequestEvent,
context: GitHubContext,
inputs: Inputs
inputs: Inputs,
) => {
core.info(`Got pull request ${e.action} event: ${e.pull_request.html_url}`)

Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const getExamplesByEventName = <E extends WebhookEventName>(eventName: E) => {

const isTypeOfEventName = <TName extends WebhookEventName>(
definition: WebhookDefinition,
eventName: TName
eventName: TName,
): definition is WebhookDefinition<TName> => definition.name === eventName

export const examplePullRequestClosedEvent: PullRequestClosedEvent = (() => {
Expand Down
8 changes: 4 additions & 4 deletions tests/run.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ test('workflow_run with collectJobMetrics', async () => {
collectJobMetrics: true,
collectStepMetrics: true,
sendPullRequestLabels: false,
}
},
)
expect(getOctokit).toHaveBeenCalledWith('GITHUB_TOKEN')
expect(submitMetrics).toHaveBeenCalledTimes(4)
Expand All @@ -68,7 +68,7 @@ test('workflow_run', async () => {
collectJobMetrics: false,
collectStepMetrics: false,
sendPullRequestLabels: false,
}
},
)
expect(getOctokit).toHaveBeenCalledWith('GITHUB_TOKEN')
expect(submitMetrics).toHaveBeenCalledTimes(2)
Expand All @@ -92,7 +92,7 @@ test('pull_request_opened', async () => {
collectJobMetrics: false,
collectStepMetrics: false,
sendPullRequestLabels: false,
}
},
)
expect(getOctokit).toHaveBeenCalledWith('GITHUB_TOKEN')
expect(submitMetrics).toHaveBeenCalledTimes(2)
Expand All @@ -117,7 +117,7 @@ test('pull_request_closed', async () => {
collectJobMetrics: false,
collectStepMetrics: false,
sendPullRequestLabels: true,
}
},
)
expect(getOctokit).toHaveBeenCalledWith('GITHUB_TOKEN')
expect(submitMetrics).toHaveBeenCalledTimes(2)
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5268,10 +5268,10 @@ prelude-ls@^1.2.1:
resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396"
integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==

prettier@2.8.8:
version "2.8.8"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.8.tgz#e8c5d7e98a4305ffe3de2e1fc4aca1a71c28b1da"
integrity sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==
prettier@3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.0.0.tgz#e7b19f691245a21d618c68bc54dc06122f6105ae"
integrity sha512-zBf5eHpwHOGPC47h0zrPyNn+eAEIdEzfywMoYn2XPi0P44Zp0tSq64rq0xAREh4auw2cJZHo9QUob+NqCQky4g==

pretty-format@^29.0.0, pretty-format@^29.4.1:
version "29.4.1"
Expand Down

0 comments on commit 48c0e75

Please sign in to comment.