Skip to content

Commit 1bca7e0

Browse files
JamesIvesdependabot[bot]lucassabreuanushbhatia
authored
Release 4.1.6 🎉 (#929)
* Release 4.1.5 📣 * Bump jest-circus from 27.0.6 to 27.1.0 (#849) Bumps [jest-circus](https://github.com/facebook/jest/tree/HEAD/packages/jest-circus) from 27.0.6 to 27.1.0. - [Release notes](https://github.com/facebook/jest/releases) - [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md) - [Commits](https://github.com/facebook/jest/commits/v27.1.0/packages/jest-circus) --- updated-dependencies: - dependency-name: jest-circus dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update README.md * Bump eslint-plugin-prettier from 3.4.1 to 4.0.0 (#856) Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 3.4.1 to 4.0.0. - [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases) - [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md) - [Commits](https://github.com/prettier/eslint-plugin-prettier/commits/v4.0.0) --- updated-dependencies: - dependency-name: eslint-plugin-prettier dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump @typescript-eslint/parser from 4.29.3 to 4.31.0 (#860) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.29.3 to 4.31.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.31.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump @typescript-eslint/eslint-plugin from 4.29.3 to 4.31.0 (#861) Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.29.3 to 4.31.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.31.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump jest-circus from 27.1.0 to 27.1.1 (#863) Bumps [jest-circus](https://github.com/facebook/jest/tree/HEAD/packages/jest-circus) from 27.1.0 to 27.1.1. - [Release notes](https://github.com/facebook/jest/releases) - [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md) - [Commits](https://github.com/facebook/jest/commits/v27.1.1/packages/jest-circus) --- updated-dependencies: - dependency-name: jest-circus dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump @types/node from 16.7.2 to 16.9.1 (#867) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.7.2 to 16.9.1. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump prettier from 2.3.2 to 2.4.0 (#865) Bumps [prettier](https://github.com/prettier/prettier) from 2.3.2 to 2.4.0. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](prettier/prettier@2.3.2...2.4.0) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump tmpl from 1.0.4 to 1.0.5 (#883) Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5. - [Release notes](https://github.com/daaku/nodejs-tmpl/releases) - [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5) --- updated-dependencies: - dependency-name: tmpl dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump ansi-regex from 5.0.0 to 5.0.1 (#885) Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 5.0.0 to 5.0.1. - [Release notes](https://github.com/chalk/ansi-regex/releases) - [Commits](chalk/ansi-regex@v5.0.0...v5.0.1) --- updated-dependencies: - dependency-name: ansi-regex dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump prettier from 2.4.0 to 2.4.1 (#873) Bumps [prettier](https://github.com/prettier/prettier) from 2.4.0 to 2.4.1. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](prettier/prettier@2.4.0...2.4.1) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump eslint-plugin-jest from 24.4.0 to 24.4.2 (#876) Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 24.4.0 to 24.4.2. - [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases) - [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md) - [Commits](jest-community/eslint-plugin-jest@v24.4.0...v24.4.2) --- updated-dependencies: - dependency-name: eslint-plugin-jest dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump @types/jest from 27.0.1 to 27.0.2 (#879) Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 27.0.1 to 27.0.2. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest) --- updated-dependencies: - dependency-name: "@types/jest" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump @typescript-eslint/parser from 4.31.0 to 4.31.2 (#880) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.31.0 to 4.31.2. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.31.2/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump @typescript-eslint/parser from 4.31.2 to 4.32.0 (#888) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.31.2 to 4.32.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.32.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump @typescript-eslint/eslint-plugin from 4.31.0 to 4.32.0 (#889) Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.31.0 to 4.32.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.32.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix issue #866 - upgrading to typescript 4.4.3 (#896) * Bump typescript from 4.3.5 to 4.4.3 Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.3.5 to 4.4.3. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](microsoft/TypeScript@v4.3.5...v4.4.3) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * (fix): extract error message * (fix): error is unknown on __tests__ * (fix): add cover Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump @actions/core from 1.5.0 to 1.6.0 (#891) Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.5.0 to 1.6.0. - [Release notes](https://github.com/actions/toolkit/releases) - [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md) - [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core) --- updated-dependencies: - dependency-name: "@actions/core" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump jest-circus from 27.1.1 to 27.2.4 (#893) Bumps [jest-circus](https://github.com/facebook/jest/tree/HEAD/packages/jest-circus) from 27.1.1 to 27.2.4. - [Release notes](https://github.com/facebook/jest/releases) - [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/jest/commits/v27.2.4/packages/jest-circus) --- updated-dependencies: - dependency-name: jest-circus dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump eslint-plugin-jest from 24.4.2 to 24.5.2 (#897) Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 24.4.2 to 24.5.2. - [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases) - [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md) - [Commits](jest-community/eslint-plugin-jest@v24.4.2...v24.5.2) --- updated-dependencies: - dependency-name: eslint-plugin-jest dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump @typescript-eslint/eslint-plugin from 4.32.0 to 4.33.0 (#898) Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.32.0 to 4.33.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.33.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump @typescript-eslint/parser from 4.32.0 to 4.33.0 (#899) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.32.0 to 4.33.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.33.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump @types/node from 16.9.1 to 16.10.3 (#900) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.9.1 to 16.10.3. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump jest-circus from 27.2.4 to 27.2.5 (#901) Bumps [jest-circus](https://github.com/facebook/jest/tree/HEAD/packages/jest-circus) from 27.2.4 to 27.2.5. - [Release notes](https://github.com/facebook/jest/releases) - [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/jest/commits/v27.2.5/packages/jest-circus) --- updated-dependencies: - dependency-name: jest-circus dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump typescript from 4.4.3 to 4.4.4 (#905) Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.4.3 to 4.4.4. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](microsoft/TypeScript@v4.4.3...v4.4.4) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump @types/node from 16.10.3 to 16.11.1 (#911) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.10.3 to 16.11.1. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump jest-circus from 27.2.5 to 27.3.1 (#914) * Bump @types/node from 16.11.1 to 16.11.7 (#921) * Modified the link & linked security documentation (#924) * Update .nvmrc (#927) * Allow Empty Git Email Configs (#926) * Allow empty email * Update README.md * Update constants.ts * Allow email * unsets email * do not set * Adjusted * Folder Permissions (#925) * Unit Tests * Update main.test.ts * Bump typescript from 4.4.4 to 4.5.2 (#928) Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.4.4 to 4.5.2. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](microsoft/TypeScript@v4.4.4...v4.5.2) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Lucas dos Santos Abreu <[email protected]> Co-authored-by: Anush Bhatia <[email protected]>
1 parent 0f24da7 commit 1bca7e0

File tree

15 files changed

+448
-320
lines changed

15 files changed

+448
-320
lines changed

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v12.18.4
1+
v14.18.1

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
npm run build
6161
6262
- name: Deploy 🚀
63-
uses: JamesIves/[email protected].4
63+
uses: JamesIves/[email protected].5
6464
with:
6565
branch: gh-pages # The branch the action should deploy to.
6666
folder: build # The folder the action should deploy.
@@ -75,7 +75,7 @@ on:
7575
- main
7676
```
7777

78-
It's recommended that you use [Dependabot](https://dependabot.com/github-actions/) to keep your workflow up-to-date. You can find the latest tagged version on the [GitHub Marketplace](https://github.com/marketplace/actions/deploy-to-github-pages) or on the [releases page](https://github.com/JamesIves/github-pages-deploy-action/releases).
78+
It's recommended that you use [Dependabot](https://docs.github.com/en/code-security/supply-chain-security/managing-vulnerabilities-in-your-projects-dependencies/configuring-dependabot-security-updates) to keep your workflow up-to-date and [secure](https://github.com/features/security). You can find the latest tagged version on the [GitHub Marketplace](https://github.com/marketplace/actions/deploy-to-github-pages) or on the [releases page](https://github.com/JamesIves/github-pages-deploy-action/releases).
7979

8080
#### Install as a Node Module 📦
8181

@@ -137,7 +137,7 @@ By default the action does not need any token configuration and uses the provide
137137
| Key | Value Information | Type | Required |
138138
| ------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------ | -------- |
139139
| `git-config-name` | Allows you to customize the name that is attached to the git config which is used when pushing the deployment commits. If this is not included it will use the name in the GitHub context, followed by the name of the action. | `with` | **No** |
140-
| `git-config-email` | Allows you to customize the email that is attached to the git config which is used when pushing the deployment commits. If this is not included it will use the email in the GitHub context, followed by a generic noreply GitHub email. | `with` | **No** |
140+
| `git-config-email` | Allows you to customize the email that is attached to the git config which is used when pushing the deployment commits. If this is not included it will use the email in the GitHub context, followed by a generic noreply GitHub email. You can include an empty string value if you wish to omit this field altogether. | `with` | **No** |
141141
| `repository-name` | Allows you to specify a different repository path so long as you have permissions to push to it. This should be formatted like so: `JamesIves/github-pages-deploy-action`. You'll need to use a PAT in the `token` input for this configuration option to work properly. | `with` | **No** |
142142
| `target-folder` | If you'd like to push the contents of the deployment folder into a specific directory on the deployment branch you can specify it here. | `with` | **No** |
143143
| `commit-message` | If you need to customize the commit message for an integration you can do so. | `with` | **No** |
@@ -178,7 +178,7 @@ With this configured you can then set the `ssh-key` part of the action to your p
178178

179179
```yml
180180
- name: Deploy 🚀
181-
uses: JamesIves/[email protected].4
181+
uses: JamesIves/[email protected].5
182182
with:
183183
branch: gh-pages
184184
folder: site
@@ -207,7 +207,7 @@ jobs:
207207
npm run build
208208
209209
- name: Deploy 🚀
210-
uses: JamesIves/[email protected].4
210+
uses: JamesIves/[email protected].5
211211
with:
212212
branch: gh-pages
213213
folder: build
@@ -274,7 +274,7 @@ jobs:
274274
name: site
275275
276276
- name: Deploy 🚀
277-
uses: JamesIves/[email protected].4
277+
uses: JamesIves/[email protected].5
278278
with:
279279
branch: gh-pages
280280
folder: 'site' # The deployment folder should match the name of the artifact. Even though our project builds into the 'build' folder the artifact name of 'site' must be placed here.
@@ -295,7 +295,7 @@ If you use a [container](https://help.github.com/en/actions/automating-your-work
295295
apt-get update && apt-get install -y rsync
296296
297297
- name: Deploy 🚀
298-
uses: JamesIves/[email protected].4
298+
uses: JamesIves/[email protected].5
299299
```
300300

301301
---
@@ -326,7 +326,7 @@ jobs:
326326
npm run build
327327
328328
- name: Deploy 🚀
329-
uses: JamesIves/[email protected].4
329+
uses: JamesIves/[email protected].5
330330
with:
331331
branch: gh-pages
332332
folder: build

__tests__/git.test.ts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ describe('git', () => {
8080
try {
8181
await init(action)
8282
} catch (error) {
83-
expect(error.message).toBe(
83+
expect(error instanceof Error && error.message).toBe(
8484
'There was an error initializing the repository: Mocked throw ❌'
8585
)
8686
}
@@ -168,7 +168,7 @@ describe('git', () => {
168168
const response = await deploy(action)
169169

170170
// Includes the call to generateWorktree
171-
expect(execute).toBeCalledTimes(12)
171+
expect(execute).toBeCalledTimes(13)
172172
expect(rmRF).toBeCalledTimes(1)
173173
expect(response).toBe(Status.SUCCESS)
174174
})
@@ -191,7 +191,7 @@ describe('git', () => {
191191
const response = await deploy(action)
192192

193193
// Includes the call to generateWorktree
194-
expect(execute).toBeCalledTimes(11)
194+
expect(execute).toBeCalledTimes(12)
195195
expect(rmRF).toBeCalledTimes(1)
196196
expect(response).toBe(Status.SUCCESS)
197197
})
@@ -216,7 +216,7 @@ describe('git', () => {
216216
await deploy(action)
217217

218218
// Includes the call to generateWorktree
219-
expect(execute).toBeCalledTimes(12)
219+
expect(execute).toBeCalledTimes(13)
220220
expect(rmRF).toBeCalledTimes(1)
221221
})
222222

@@ -240,7 +240,7 @@ describe('git', () => {
240240
await deploy(action)
241241

242242
// Includes the call to generateWorktree
243-
expect(execute).toBeCalledTimes(11)
243+
expect(execute).toBeCalledTimes(12)
244244
expect(rmRF).toBeCalledTimes(1)
245245
})
246246

@@ -265,7 +265,7 @@ describe('git', () => {
265265
await deploy(action)
266266

267267
// Includes the call to generateWorktree
268-
expect(execute).toBeCalledTimes(11)
268+
expect(execute).toBeCalledTimes(12)
269269
expect(rmRF).toBeCalledTimes(1)
270270
})
271271

@@ -296,7 +296,7 @@ describe('git', () => {
296296
const response = await deploy(action)
297297

298298
// Includes the call to generateWorktree
299-
expect(execute).toBeCalledTimes(12)
299+
expect(execute).toBeCalledTimes(13)
300300
expect(rmRF).toBeCalledTimes(1)
301301
expect(fs.existsSync).toBeCalledTimes(2)
302302
expect(response).toBe(Status.SUCCESS)
@@ -328,7 +328,7 @@ describe('git', () => {
328328
await deploy(action)
329329

330330
// Includes the call to generateWorktree
331-
expect(execute).toBeCalledTimes(9)
331+
expect(execute).toBeCalledTimes(10)
332332
expect(rmRF).toBeCalledTimes(1)
333333
})
334334
})
@@ -353,7 +353,7 @@ describe('git', () => {
353353
await deploy(action)
354354

355355
// Includes the call to generateWorktree
356-
expect(execute).toBeCalledTimes(9)
356+
expect(execute).toBeCalledTimes(10)
357357
expect(rmRF).toBeCalledTimes(1)
358358
})
359359

@@ -373,7 +373,7 @@ describe('git', () => {
373373

374374
await deploy(action)
375375

376-
expect(execute).toBeCalledTimes(9)
376+
expect(execute).toBeCalledTimes(10)
377377
expect(rmRF).toBeCalledTimes(1)
378378
expect(mkdirP).toBeCalledTimes(1)
379379
})
@@ -393,7 +393,7 @@ describe('git', () => {
393393
})
394394

395395
const response = await deploy(action)
396-
expect(execute).toBeCalledTimes(9)
396+
expect(execute).toBeCalledTimes(10)
397397
expect(rmRF).toBeCalledTimes(1)
398398
expect(response).toBe(Status.SKIPPED)
399399
})
@@ -419,7 +419,7 @@ describe('git', () => {
419419
try {
420420
await deploy(action)
421421
} catch (error) {
422-
expect(error.message).toBe(
422+
expect(error instanceof Error && error.message).toBe(
423423
'The deploy step encountered an error: Mocked throw ❌'
424424
)
425425
}

__tests__/main.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ describe('main', () => {
4949
debug: true
5050
})
5151
await run(action)
52-
expect(execute).toBeCalledTimes(14)
52+
expect(execute).toBeCalledTimes(15)
5353
expect(rmRF).toBeCalledTimes(1)
5454
expect(exportVariable).toBeCalledTimes(1)
5555
})
@@ -69,7 +69,7 @@ describe('main', () => {
6969
isTest: TestFlag.HAS_CHANGED_FILES
7070
})
7171
await run(action)
72-
expect(execute).toBeCalledTimes(17)
72+
expect(execute).toBeCalledTimes(18)
7373
expect(rmRF).toBeCalledTimes(1)
7474
expect(exportVariable).toBeCalledTimes(1)
7575
})

__tests__/ssh.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ describe('configureSSH', () => {
133133
try {
134134
await configureSSH(action)
135135
} catch (error) {
136-
expect(error.message).toBe(
136+
expect(error instanceof Error && error.message).toBe(
137137
'The ssh client configuration encountered an error: Mocked throw ❌'
138138
)
139139
}

__tests__/util.test.ts

Lines changed: 45 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ import {
66
generateFolderPath,
77
suppressSensitiveInformation,
88
checkParameters,
9-
stripProtocolFromUrl
9+
stripProtocolFromUrl,
10+
extractErrorMessage
1011
} from '../src/util'
1112

1213
describe('util', () => {
@@ -30,6 +31,26 @@ describe('util', () => {
3031
const value = ''
3132
expect(isNullOrUndefined(value)).toBeTruthy()
3233
})
34+
35+
it('should return true if the value is null (with allowEmptyString)', async () => {
36+
const value = null
37+
expect(isNullOrUndefined(value, true)).toBeTruthy()
38+
})
39+
40+
it('should return true if the value is undefined (with allowEmptyString)', async () => {
41+
const value = undefined
42+
expect(isNullOrUndefined(value, true)).toBeTruthy()
43+
})
44+
45+
it('should return false if the value is defined (with allowEmptyString)', async () => {
46+
const value = 'montezuma'
47+
expect(isNullOrUndefined(value, true)).toBeFalsy()
48+
})
49+
50+
it('should return false if the value is empty string (with allowEmptyString)', async () => {
51+
const value = ''
52+
expect(isNullOrUndefined(value, true)).toBeFalsy()
53+
})
3354
})
3455

3556
describe('generateTokenType', () => {
@@ -222,7 +243,7 @@ describe('util', () => {
222243
try {
223244
checkParameters(action)
224245
} catch (e) {
225-
expect(e.message).toMatch(
246+
expect(e instanceof Error && e.message).toMatch(
226247
'No deployment token/method was provided. You must provide the action with either a Personal Access Token or the GitHub Token secret in order to deploy. If you wish to use an ssh deploy token then you must set SSH to true.'
227248
)
228249
}
@@ -242,7 +263,7 @@ describe('util', () => {
242263
try {
243264
checkParameters(action)
244265
} catch (e) {
245-
expect(e.message).toMatch(
266+
expect(e instanceof Error && e.message).toMatch(
246267
'No deployment token/method was provided. You must provide the action with either a Personal Access Token or the GitHub Token secret in order to deploy. If you wish to use an ssh deploy token then you must set SSH to true.'
247268
)
248269
}
@@ -262,7 +283,7 @@ describe('util', () => {
262283
try {
263284
checkParameters(action)
264285
} catch (e) {
265-
expect(e.message).toMatch('Branch is required.')
286+
expect(e instanceof Error && e.message).toMatch('Branch is required.')
266287
}
267288
})
268289

@@ -280,7 +301,7 @@ describe('util', () => {
280301
try {
281302
checkParameters(action)
282303
} catch (e) {
283-
expect(e.message).toMatch(
304+
expect(e instanceof Error && e.message).toMatch(
284305
'You must provide the action with a folder to deploy.'
285306
)
286307
}
@@ -301,7 +322,7 @@ describe('util', () => {
301322
action.folderPath = generateFolderPath(action)
302323
checkParameters(action)
303324
} catch (e) {
304-
expect(e.message).toMatch(
325+
expect(e instanceof Error && e.message).toMatch(
305326
`The directory you're trying to deploy named notARealFolder doesn't exist. Please double check the path and any prerequisite build scripts and try again. ❗`
306327
)
307328
}
@@ -327,4 +348,22 @@ describe('util', () => {
327348
)
328349
})
329350
})
351+
352+
describe('extractErrorMessage', () => {
353+
it('gets the message of a Error', () => {
354+
expect(extractErrorMessage(new Error('a error message'))).toBe(
355+
'a error message'
356+
)
357+
})
358+
359+
it('gets the message of a string', () => {
360+
expect(extractErrorMessage('a error message')).toBe('a error message')
361+
})
362+
363+
it('gets the message of a object', () => {
364+
expect(extractErrorMessage({special: 'a error message'})).toBe(
365+
`{"special":"a error message"}`
366+
)
367+
})
368+
})
330369
})

__tests__/worktree.error.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ describe('generateWorktree', () => {
2828
true
2929
)
3030
} catch (error) {
31-
expect(error.message).toBe(
31+
expect(error instanceof Error && error.message).toBe(
3232
'There was an error creating the worktree: Mocked throw ❌'
3333
)
3434
}

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@jamesives/github-pages-deploy-action",
33
"description": "GitHub action for building a project and deploying it to GitHub pages.",
44
"author": "James Ives <[email protected]> (https://jamesiv.es)",
5-
"version": "4.1.4",
5+
"version": "4.1.5",
66
"license": "MIT",
77
"main": "lib/lib.js",
88
"types": "lib/lib.d.ts",
@@ -33,25 +33,25 @@
3333
"deployment"
3434
],
3535
"dependencies": {
36-
"@actions/core": "1.5.0",
36+
"@actions/core": "1.6.0",
3737
"@actions/exec": "1.1.0",
3838
"@actions/github": "5.0.0",
3939
"@actions/io": "1.1.1"
4040
},
4141
"devDependencies": {
42-
"@types/jest": "27.0.1",
43-
"@types/node": "16.7.2",
44-
"@typescript-eslint/eslint-plugin": "4.29.3",
45-
"@typescript-eslint/parser": "4.29.3",
42+
"@types/jest": "27.0.2",
43+
"@types/node": "16.11.7",
44+
"@typescript-eslint/eslint-plugin": "4.33.0",
45+
"@typescript-eslint/parser": "4.33.0",
4646
"eslint": "7.32.0",
4747
"eslint-config-prettier": "8.3.0",
48-
"eslint-plugin-jest": "24.4.0",
49-
"eslint-plugin-prettier": "3.4.1",
48+
"eslint-plugin-jest": "24.5.2",
49+
"eslint-plugin-prettier": "4.0.0",
5050
"jest": "26.6.3",
51-
"jest-circus": "27.0.6",
52-
"prettier": "2.3.2",
51+
"jest-circus": "27.3.1",
52+
"prettier": "2.4.1",
5353
"rimraf": "3.0.2",
5454
"ts-jest": "26.5.6",
55-
"typescript": "4.3.5"
55+
"typescript": "4.5.2"
5656
}
5757
}

src/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export const action: ActionInterface = {
9595
? stripProtocolFromUrl(process.env.GITHUB_SERVER_URL)
9696
: 'github.com',
9797
isTest: TestFlag.NONE,
98-
email: !isNullOrUndefined(getInput('git-config-email'))
98+
email: !isNullOrUndefined(getInput('git-config-email'), true)
9999
? getInput('git-config-email')
100100
: pusher && pusher.email
101101
? pusher.email

0 commit comments

Comments
 (0)