mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
Bump prettier from 1.19.1 to 2.0.2 (#210)
* Bump prettier from 1.19.1 to 2.0.2 Bumps [prettier](https://github.com/prettier/prettier) from 1.19.1 to 2.0.2. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/1.19.1...2.0.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Formatting for Prettier 2.0 Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Co-authored-by: JamesIves <iam@jamesiv.es>
This commit is contained in:
parent
a06fd6dc48
commit
78f3c44617
@ -42,7 +42,7 @@
|
|||||||
"@types/node": "^13.1.2",
|
"@types/node": "^13.1.2",
|
||||||
"jest": "^25.1.0",
|
"jest": "^25.1.0",
|
||||||
"jest-circus": "^25.1.0",
|
"jest-circus": "^25.1.0",
|
||||||
"prettier": "^1.19.1",
|
"prettier": "^2.0.2",
|
||||||
"ts-jest": "^25.0.0",
|
"ts-jest": "^25.0.0",
|
||||||
"eslint": "^6.8.0",
|
"eslint": "^6.8.0",
|
||||||
"eslint-plugin-github": "^3.4.1",
|
"eslint-plugin-github": "^3.4.1",
|
||||||
|
@ -65,8 +65,9 @@ export const action: ActionInterface = {
|
|||||||
? getInput('GIT_CONFIG_EMAIL')
|
? getInput('GIT_CONFIG_EMAIL')
|
||||||
: pusher && pusher.email
|
: pusher && pusher.email
|
||||||
? pusher.email
|
? pusher.email
|
||||||
: `${process.env.GITHUB_ACTOR ||
|
: `${
|
||||||
'github-pages-deploy-action'}@users.noreply.github.com`,
|
process.env.GITHUB_ACTOR || 'github-pages-deploy-action'
|
||||||
|
}@users.noreply.github.com`,
|
||||||
gitHubToken: getInput('GITHUB_TOKEN'),
|
gitHubToken: getInput('GITHUB_TOKEN'),
|
||||||
name: !isNullOrUndefined(getInput('GIT_CONFIG_NAME'))
|
name: !isNullOrUndefined(getInput('GIT_CONFIG_NAME'))
|
||||||
? getInput('GIT_CONFIG_NAME')
|
? getInput('GIT_CONFIG_NAME')
|
||||||
|
@ -19,10 +19,9 @@ export const generateTokenType = (action: ActionInterface): string =>
|
|||||||
export const generateRepositoryPath = (action: ActionInterface): string =>
|
export const generateRepositoryPath = (action: ActionInterface): string =>
|
||||||
action.ssh
|
action.ssh
|
||||||
? `git@github.com:${action.repositoryName}`
|
? `git@github.com:${action.repositoryName}`
|
||||||
: `https://${action.accessToken ||
|
: `https://${
|
||||||
`x-access-token:${action.gitHubToken}`}@github.com/${
|
action.accessToken || `x-access-token:${action.gitHubToken}`
|
||||||
action.repositoryName
|
}@github.com/${action.repositoryName}.git`
|
||||||
}.git`
|
|
||||||
|
|
||||||
/* Checks for the required tokens and formatting. Throws an error if any case is matched. */
|
/* Checks for the required tokens and formatting. Throws an error if any case is matched. */
|
||||||
export const hasRequiredParameters = (action: ActionInterface): void => {
|
export const hasRequiredParameters = (action: ActionInterface): void => {
|
||||||
|
@ -3283,9 +3283,9 @@ prettier-linter-helpers@^1.0.0:
|
|||||||
dependencies:
|
dependencies:
|
||||||
fast-diff "^1.1.2"
|
fast-diff "^1.1.2"
|
||||||
|
|
||||||
prettier@>=1.12.0, prettier@^1.19.1:
|
prettier@>=1.12.0, prettier@^2.0.2:
|
||||||
version "1.19.1"
|
version "2.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.19.1.tgz#f7d7f5ff8a9cd872a7be4ca142095956a60797cb"
|
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.0.2.tgz#1ba8f3eb92231e769b7fcd7cb73ae1b6b74ade08"
|
||||||
|
|
||||||
pretty-format@^25.1.0:
|
pretty-format@^25.1.0:
|
||||||
version "25.1.0"
|
version "25.1.0"
|
||||||
|
Loading…
Reference in New Issue
Block a user