Commit Graph

318 Commits

Author SHA1 Message Date
peaceiris 2752ce1d29 chore(release): 3.2.1 2026-05-11 01:05:33 +09:00
peaceiris cf03c8dbc2 chore(release): 3.2.0 2026-05-11 00:27:26 +09:00
Shohei Ueda 189731ef00 build: update npm dependencies (#689)
## Summary

Update all direct npm dependencies and devDependencies to the current
npm latest versions and pin them exactly instead of using caret or tilde
ranges.

## Changes

- Pin all direct runtime and development package versions in
`package.json` and refresh `package-lock.json`.
- Migrate ESLint from `.eslintrc.json` to flat config for ESLint 10.
- Update Jest and TypeScript configuration and test mocks to support the
latest ESM-only packages.
- Add response status handling and typed JSON access for the latest
`node-fetch` types.

## Checklist

- [x] I have read the latest README and followed the instructions.
- [x] I have added or updated tests for behavior changes.
- [x] I have updated README.md and action.yml when inputs or runtime
behavior changed.
- [x] I have run the relevant verification commands.

## Verification

- [x] `npm --userconfig=/private/tmp/empty-npmrc outdated --json
--include=dev` returned `{}`
- [x] `npm run all`
- [x] `npm run build`


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Tests**
* Added comprehensive test mocks for Actions APIs and fetch, improved
integration tests, and updated assertions for more precise error
validation.
  * Configured Jest to map external modules to local test mocks.

* **Chores**
* Migrated ESLint to the flat config format and replaced prior ESLint
config.
* Updated project dependencies and modernized TypeScript compiler
settings.

* **Refactor**
* Adjusted exported tool constants and made error handling more explicit
in version-fetching logic.

[![Review Change
Stack](https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui.svg)](https://app.coderabbit.ai/change-stack/peaceiris/actions-hugo/pull/689)
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Codex <noreply@openai.com>
2026-05-10 23:30:59 +09:00
peaceiris 32c7754570 chore(release): 3.1.0 2026-05-10 18:43:21 +09:00
Shohei Ueda 64e0f66acb ci: harden workflows and update Node.js (#686) 2026-05-10 18:21:41 +09:00
peaceiris 75d2e84710 chore(release): 3.0.0 2024-04-02 12:17:50 +09:00
peaceiris d85452eadf chore: revert version 2024-04-02 12:16:58 +09:00
Rui Chen c57490a8b0 feat: bump to use node20 runtime (#641) 2024-02-06 23:47:20 +09:00
peaceiris 16361eb4ac chore(release): 2.6.0 2022-10-24 00:28:23 +09:00
Shohei Ueda 9a77c647c2 feat: bump node12 to node16 (#617)
Close https://github.com/peaceiris/actions-hugo/issues/611

- deps: bump node12 to node16
- deps: bump @actions/core from 1.6.0 to 1.10.0
2022-10-24 00:26:51 +09:00
dependabot[bot] 7d27b3ca0d deps: bump @actions/exec from 1.0.4 to 1.1.1 (#571)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-01 16:02:57 +09:00
dependabot[bot] 616b5f11b6 deps: bump @actions/tool-cache from 1.6.1 to 1.7.2 (#570)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-01 15:56:30 +09:00
dependabot[bot] be79927858 deps: bump @actions/core from 1.2.7 to 1.6.0 (#544)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-01 15:40:34 +09:00
Shohei Ueda a5a80db759 Bump doctoc from 2.0.0 to 2.1.0 (#545) 2021-10-14 13:01:48 +09:00
Shohei Ueda 5fa8f53e89 chore: Fix prettier (#535) 2021-07-26 15:32:36 +09:00
peaceiris c03b5dbed2 chore(release): 2.5.0 2021-05-27 13:04:54 +09:00
dependabot[bot] b263ea9e10 deps: bump @actions/core from 1.2.6 to 1.2.7 (#507)
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.2.6 to 1.2.7.
- [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)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-17 01:36:36 +09:00
dependabot[bot] d2d1138306 deps: bump @actions/io from 1.0.2 to 1.1.0 (#505)
Bumps [@actions/io](https://github.com/actions/toolkit/tree/HEAD/packages/io) from 1.0.2 to 1.1.0.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/io/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/@actions/core@1.1.0/packages/io)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-05 17:30:19 +09:00
Shohei Ueda 9f50a3c912 deps: update devDependencies (#498) 2021-03-06 23:07:08 +09:00
peaceiris 917a09767d chore: Add postinstall for husky install 2021-03-06 23:04:54 +09:00
peaceiris 4f6ebdd767 ci: Fix husky post-merge 2021-02-10 14:15:02 +09:00
Shohei Ueda 32f5b71c41 deps: update devDependencies (#492) 2021-02-10 13:52:39 +09:00
Shohei Ueda 029d5ce0d0 ci: Fix husky post-merge (#491) 2021-02-10 13:47:06 +09:00
peaceiris 9564982d19 ci: Migrate husky from v4 to v5 2021-02-09 19:30:33 +09:00
peaceiris b0fb91bc02 docs: bump versions 2020-12-20 01:45:27 +09:00
dependabot[bot] bad27227bf deps: bump @actions/tool-cache from 1.6.0 to 1.6.1 (#468)
Bumps [@actions/tool-cache](https://github.com/actions/toolkit/tree/HEAD/packages/tool-cache) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/tool-cache/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/tool-cache)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-16 11:08:22 +09:00
Shohei Ueda d2b6644a80 deps: update devDependencies (#466) 2020-11-12 22:55:44 +09:00
Shohei Ueda 0df2d4252f deps: update dev deps (#462) 2020-10-21 18:01:18 +09:00
Shohei Ueda a5336818df deps: update (#459) 2020-10-12 15:26:57 +09:00
dependabot[bot] 7e8c2a08b4 deps: bump jest-circus from 26.5.2 to 26.5.3 (#456)
Bumps [jest-circus](https://github.com/facebook/jest/tree/HEAD/packages/jest-circus) from 26.5.2 to 26.5.3.
- [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/v26.5.3/packages/jest-circus)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-12 12:05:05 +09:00
dependabot[bot] 2b3e82c924 deps: bump jest-circus from 26.5.1 to 26.5.2 (#453)
Bumps [jest-circus](https://github.com/facebook/jest/tree/HEAD/packages/jest-circus) from 26.5.1 to 26.5.2.
- [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/v26.5.2/packages/jest-circus)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-07 11:16:57 +09:00
peaceiris 2e89aa66d0 chore(release): 2.4.13 2020-10-07 01:12:19 +09:00
dependabot[bot] 88b26abfee deps: bump jest-circus from 26.4.2 to 26.5.1 (#452)
Bumps [jest-circus](https://github.com/facebook/jest/tree/HEAD/packages/jest-circus) from 26.4.2 to 26.5.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/v26.5.1/packages/jest-circus)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-06 11:33:00 +09:00
dependabot[bot] 33a289a0d5 deps: bump @actions/core from 1.2.5 to 1.2.6 (#448)
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.2.5 to 1.2.6.
- [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)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-24 21:34:45 +09:00
dependabot[bot] 3317f5e6cd deps: bump @types/jest from 26.0.13 to 26.0.14 (#442)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.13 to 26.0.14.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-17 15:22:00 +09:00
dependabot[bot] 3c588690f5 deps: bump lint-staged from 10.3.0 to 10.4.0 (#444)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.3.0 to 10.4.0.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.3.0...v10.4.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-17 15:19:50 +09:00
dependabot[bot] fe1c07bf27 deps: bump prettier from 2.1.1 to 2.1.2 (#440)
Bumps [prettier](https://github.com/prettier/prettier) from 2.1.1 to 2.1.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/2.1.1...2.1.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-16 11:17:30 +09:00
dependabot[bot] 802b595093 deps: bump @vercel/ncc from 0.24.0 to 0.24.1 (#438)
Bumps [@vercel/ncc](https://github.com/vercel/ncc) from 0.24.0 to 0.24.1.
- [Release notes](https://github.com/vercel/ncc/releases)
- [Commits](https://github.com/vercel/ncc/compare/0.24.0...0.24.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-15 17:23:24 +09:00
dependabot[bot] 4c60b233f2 deps: bump husky from 4.2.5 to 4.3.0 (#431)
Bumps [husky](https://github.com/typicode/husky) from 4.2.5 to 4.3.0.
- [Release notes](https://github.com/typicode/husky/releases)
- [Changelog](https://github.com/typicode/husky/blob/master/CHANGELOG.md)
- [Commits](https://github.com/typicode/husky/compare/v4.2.5...v4.3.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-08 13:48:03 +09:00
dependabot[bot] bcbb69dfa4 deps: bump node-fetch from 2.6.0 to 2.6.1 (#430)
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-07 13:23:21 +09:00
dependabot[bot] 4e17872cd1 deps: bump lint-staged from 10.2.13 to 10.3.0 (#428)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.2.13 to 10.3.0.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.2.13...v10.3.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-04 11:11:41 +09:00
dependabot[bot] b59871c37d deps: bump @types/jest from 26.0.12 to 26.0.13 (#427)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.12 to 26.0.13.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-03 11:20:59 +09:00
dependabot[bot] 6b131935e4 deps: bump @types/jest from 26.0.10 to 26.0.12 (#425)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.10 to 26.0.12.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-01 12:24:52 +09:00
dependabot[bot] 5825c9307b deps: bump @actions/core from 1.2.4 to 1.2.5 (#422)
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.2.4 to 1.2.5.
- [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)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-27 17:01:12 +09:00
dependabot[bot] 5b3d1ee007 deps: bump @vercel/ncc from 0.23.0 to 0.24.0 (#424)
Bumps [@vercel/ncc](https://github.com/vercel/ncc) from 0.23.0 to 0.24.0.
- [Release notes](https://github.com/vercel/ncc/releases)
- [Commits](https://github.com/vercel/ncc/compare/0.23.0...0.24.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-27 17:00:00 +09:00
dependabot[bot] 5a94243d05 deps: bump prettier from 2.1.0 to 2.1.1 (#423)
Bumps [prettier](https://github.com/prettier/prettier) from 2.1.0 to 2.1.1.
- [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/2.1.0...2.1.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-27 16:57:32 +09:00
dependabot[bot] b0f29e7ede deps: bump lint-staged from 10.2.11 to 10.2.13 (#421)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.2.11 to 10.2.13.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.2.11...v10.2.13)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-26 15:56:21 +09:00
dependabot[bot] b94c20b65d deps: bump prettier from 2.0.5 to 2.1.0 (#420)
Bumps [prettier](https://github.com/prettier/prettier) from 2.0.5 to 2.1.0.
- [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/2.0.5...2.1.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-25 20:32:14 +09:00
dependabot[bot] caf4dd6aae deps: bump jest-circus from 26.4.1 to 26.4.2 (#417)
Bumps [jest-circus](https://github.com/facebook/jest/tree/HEAD/packages/jest-circus) from 26.4.1 to 26.4.2.
- [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/v26.4.2/packages/jest-circus)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-24 11:10:48 +09:00
Shohei Ueda aba4ae3195 deps: change @zeit/ncc to @vercel/ncc (#416) 2020-08-22 12:07:50 +09:00