Actions build/nwtgck dependabot/npm and yarn/prettier 2.3.2 (#603)

* chore(deps-dev): bump prettier from 2.2.1 to 2.3.2

Bumps [prettier](https://github.com/prettier/prettier) from 2.2.1 to 2.3.2.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.2.1...2.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* build

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Ryo Ota
2021-07-21 12:25:32 +09:00
committed by GitHub
parent 4601dddacc
commit 99552499dc
4 changed files with 11 additions and 10 deletions

View File

@@ -62,9 +62,8 @@ describe('defaultInputs', () => {
describe('productionBranch', () => {
test('it should be a string when specified', () => {
withInput('production-branch', 'master', () => {
const productionBranch:
| string
| undefined = defaultInputs.productionBranch()
const productionBranch: string | undefined =
defaultInputs.productionBranch()
expect(productionBranch).toBe('master')
})
})

6
package-lock.json generated
View File

@@ -8891,9 +8891,9 @@
"integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ="
},
"prettier": {
"version": "2.2.1",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.2.1.tgz",
"integrity": "sha512-PqyhM2yCjg/oKkFPtTGUojv7gnZAoG80ttl45O6x2Ug/rMJw4wcc9k6aaf2hibP7BGVCCM33gZoGjyvt9mm16Q==",
"version": "2.3.2",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.3.2.tgz",
"integrity": "sha512-lnJzDfJ66zkMy58OL5/NY5zp70S7Nz6KqcKkXYzn2tMVrNxvbqaBpg7H3qHaLxCJ5lNMsGuM8+ohS7cZrthdLQ==",
"dev": true
},
"prettier-linter-helpers": {

View File

@@ -39,7 +39,7 @@
"jest": "^26.6.3",
"jest-circus": "^27.0.6",
"js-yaml": "^4.1.0",
"prettier": "^2.2.1",
"prettier": "^2.3.2",
"ts-jest": "^26.5.6",
"typescript": "^4.2.4"
}

View File

@@ -64,8 +64,9 @@ async function createGitHubDeployment(
owner: context.repo.owner,
repo: context.repo.repo,
// eslint-disable-next-line @typescript-eslint/camelcase
deployment_id: (deployment as OctokitResponse<ReposCreateDeploymentResponseData>)
.data.id
deployment_id: (
deployment as OctokitResponse<ReposCreateDeploymentResponseData>
).data.id
})
}
@@ -88,7 +89,8 @@ export async function run(inputs: Inputs): Promise<void> {
const productionBranch: string | undefined = inputs.productionBranch()
const enablePullRequestComment: boolean = inputs.enablePullRequestComment()
const enableCommitComment: boolean = inputs.enableCommitComment()
const overwritesPullRequestComment: boolean = inputs.overwritesPullRequestComment()
const overwritesPullRequestComment: boolean =
inputs.overwritesPullRequestComment()
const netlifyConfigPath: string | undefined = inputs.netlifyConfigPath()
const alias: string | undefined = inputs.alias()