Compare commits

...

267 Commits

Author SHA1 Message Date
peaceiris
373f7f263a chore(release): 3.9.3
Some checks failed
Release / release (push) Failing after 0s
2023-03-31 00:43:23 +09:00
peaceiris
00e2f338db chore(release): Add build assets 2023-03-31 00:43:21 +09:00
Shohei Ueda
31c15f0329 fix: update known_hosts (#871) 2023-03-31 00:42:26 +09:00
renovate[bot]
6f6875cdf6 chore(deps): update dependency @types/node to v16.18.23 (#880)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-30 05:10:13 +00:00
renovate[bot]
ee58d74b7a chore(deps): update node.js to v16.20.0 (#879)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-29 23:09:22 +00:00
renovate[bot]
67383c90a3 chore(deps): update typescript-eslint monorepo to v5.57.0 (#875)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-29 21:15:17 +00:00
renovate[bot]
f2f45dd826 chore(deps): update dependency eslint to v8.37.0 (#877)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-29 15:16:31 +00:00
renovate[bot]
69c02d4e82 chore(deps): update dependency @types/node to v16.18.22 (#876)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-29 06:10:37 +00:00
renovate[bot]
b8ecadfc08 chore(deps): update dependency @types/node to v16.18.21 (#874)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-26 05:51:59 +00:00
renovate[bot]
66f12e737e chore(deps): update dependency @types/node to v16.18.20 (#873)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-25 06:02:50 +00:00
renovate[bot]
5a7e52de3d chore(deps): update dependency prettier to v2.8.7 (#872)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-24 14:16:11 +00:00
renovate[bot]
599324c6ed chore(deps): update dependency @types/node to v16.18.19 (#870)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-24 04:35:01 +00:00
renovate[bot]
0d67ec5c39 chore(deps): update dependency prettier to v2.8.6 (#869)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-21 12:47:43 +00:00
renovate[bot]
78b3816969 chore(deps): update typescript-eslint monorepo to v5.56.0 (#866)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-21 08:36:45 +00:00
renovate[bot]
43f2073e60 chore(deps): update dependency @types/node to v16.18.18 (#868)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-21 04:50:22 +00:00
renovate[bot]
486938a015 chore(deps): update dependency eslint-config-prettier to v8.8.0 (#867)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-21 00:19:36 +00:00
renovate[bot]
883423edd8 chore(deps): update dependency prettier to v2.8.5 (#865)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-20 10:08:36 +00:00
renovate[bot]
92c7c21410 chore(deps): update dependency @types/jest to v29.5.0 (#864)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-16 21:05:08 +00:00
renovate[bot]
65d77f816a chore(deps): update typescript-eslint monorepo to v5.55.0 (#862)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-16 14:33:26 +00:00
renovate[bot]
2c0c03e6f4 chore(deps): update jest monorepo (#861)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-16 12:31:46 +00:00
renovate[bot]
28958bab3a chore(deps): update dependency standard-version to v9.5.0 (#860)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-16 10:52:32 +00:00
renovate[bot]
aca9d72df7 chore(deps): update dependency lint-staged to v13.2.0 (#859)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-16 08:38:20 +00:00
renovate[bot]
c68a9bf36e chore(deps): update dependency eslint-config-prettier to v8.7.0 (#858)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-16 06:24:49 +00:00
renovate[bot]
773d4316b8 chore(deps): update dependency eslint to v8.36.0 (#857)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-16 05:52:30 +00:00
renovate[bot]
33d882af54 fix(deps): update dependency @actions/io to v1.1.3 (#856)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-16 03:37:02 +00:00
renovate[bot]
93bd8c5f6d chore(deps): update dependency typescript to v4.9.5 (#855)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-16 00:52:39 +00:00
renovate[bot]
1008c8c81c chore(deps): update dependency @vercel/ncc to v0.36.1 (#854)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-15 21:31:53 +00:00
renovate[bot]
e9cc68c240 chore(deps): update dependency @types/node to v16.18.16 (#853)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-15 19:40:37 +00:00
Andreas Deininger
884a0224fd docs: fix typo, bump hugo version (#851) 2023-02-21 11:09:24 +09:00
renovate[bot]
e5d60a65a4 chore(deps): update node.js to v16.19.1 (#850)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-17 10:58:54 +09:00
renovate[bot]
06aa22c0f9 chore(deps): update dependency prettier to v2.8.4 (#849)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-08 11:57:07 +00:00
renovate[bot]
cc91d0e9f8 fix(deps): update dependency @actions/glob to ^0.4.0 (#847)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-25 20:40:29 +00:00
renovate[bot]
45065d5c03 chore(deps): update peaceiris/actions-github-app-token action to v1.1.6 (#845)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-21 07:23:33 +00:00
renovate[bot]
2c16db0f50 chore(deps): update dependency @types/jest to ^29.2.6 (#843)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-19 11:47:29 +09:00
renovate[bot]
589f1617f5 chore(deps): update npm to >=9.3.1 (#842)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-18 16:36:16 +09:00
Shohei Ueda
32e33dcd3a fix: fix error handling (#841) 2023-01-17 23:04:25 +09:00
peaceiris
1977c44664 chore(release): Remove build assets [skip ci] 2023-01-17 22:42:48 +09:00
peaceiris
bd8c6b06eb chore(release): 3.9.2
Some checks failed
Release / release (push) Failing after 0s
2023-01-17 22:42:47 +09:00
peaceiris
ae7759a398 chore(release): Add build assets 2023-01-17 22:42:46 +09:00
renovate[bot]
9b7ce2a171 chore(deps): update dependency eslint-plugin-jest to v27 (#826)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: peaceiris <30958501+peaceiris@users.noreply.github.com>
2023-01-17 22:40:50 +09:00
peaceiris
983978086a chore: replace npm ci with install 2023-01-17 22:40:29 +09:00
renovate[bot]
7859c9b784 chore(deps): update dependency typescript to ^4.9.4 (#823)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-17 22:37:26 +09:00
renovate[bot]
fd54e565f4 chore(deps): update jest to v29 (major) (#825)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: peaceiris <30958501+peaceiris@users.noreply.github.com>
2023-01-17 22:30:07 +09:00
renovate[bot]
2c6daf7153 chore(deps): update linters to ^5.48.2 (#839)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-17 12:17:12 +09:00
renovate[bot]
8206a5f364 chore(deps): update linters (#838)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-16 11:47:41 +09:00
Shohei Ueda
cba22ba760 ci: remove enabledManagers 2023-01-13 23:45:59 +09:00
renovate[bot]
87c1b90704 chore(deps): update npm to >=9.3.0 (#837)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-13 16:58:53 +09:00
renovate[bot]
411de78882 chore(deps): update dependency eslint to v8 (#833)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-10 12:29:48 +09:00
renovate[bot]
9209134025 chore(deps): update dependency @types/jest to v29 (#832)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-10 12:14:51 +09:00
renovate[bot]
2ae4e44c71 chore(deps): update dependency eslint-plugin-jest to v26 (#834)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-10 12:14:35 +09:00
renovate[bot]
20411ac459 chore(deps): update dependency @types/jest to v28 (#831)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-10 11:33:15 +09:00
renovate[bot]
76446f8a5e chore(deps): update linters to ^5.48.1 (#829)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-10 10:52:40 +09:00
renovate[bot]
8fc4f66b0e chore(deps): update linters to v5 (major) (#828)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-10 01:02:29 +09:00
renovate[bot]
6932db2544 chore(deps): update dependency eslint-plugin-prettier to v4 (#827)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-10 00:54:53 +09:00
renovate[bot]
16b8f766df chore(deps): update linters (#824)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-09 22:38:27 +09:00
renovate[bot]
ffa3183092 chore(deps): update dependency js-yaml to ^4.1.0 (#822)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-09 19:55:00 +09:00
renovate[bot]
afad39bf81 fix(deps): update dependency @actions/github to ^5.1.1 (#821)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-09 19:54:22 +09:00
renovate[bot]
29aefb7700 chore(deps): update dependency @types/jest to ^26.0.24 (#819)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-09 19:44:24 +09:00
renovate[bot]
0725e5789b chore(deps): update dependency ts-jest to ^26.5.6 (#820)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-09 19:44:06 +09:00
renovate[bot]
3b42e19751 chore(deps): update npm to v9 (#811)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-09 09:44:57 +09:00
renovate[bot]
fe2eb19a96 chore(deps): update dependency lint-staged to v13 (#814)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-09 09:38:54 +09:00
renovate[bot]
25b90d1c7e chore(deps): update dependency husky to v8 (#813)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-09 09:38:17 +09:00
Shohei Ueda
416f539fb4 ci: use peaceiris/workflows/setup-node 0.19.1 (#818) 2023-01-09 09:37:43 +09:00
Shohei Ueda
32c9288f55 chore: rename cicd 2023-01-09 09:32:54 +09:00
renovate[bot]
da1b4ad62b chore(deps): update peaceiris/workflows action to v0.19.1 (#816)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-08 23:29:31 +00:00
renovate[bot]
b992418825 chore(deps): update dependency @vercel/ncc to ^0.36.0 (#812)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-08 21:04:13 +00:00
renovate[bot]
6c8719badb chore(deps): update npm to >=8.19.3 (#815)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-08 18:16:59 +00:00
renovate[bot]
47d01f16d3 chore(deps): update node.js to >=v16.19.0 (#810)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-08 00:16:19 +09:00
Shohei Ueda
5e5dc6d02e ci: add github-actions npm 2023-01-08 00:03:20 +09:00
Shohei Ueda
7af79a873e ci: remove dependabot 2023-01-08 00:03:04 +09:00
Shohei Ueda
dd7d778958 ci: enable automerge 2023-01-06 00:05:36 +09:00
Shohei Ueda
e3aa46d23b deps: apply npm audit fix (#809) 2023-01-05 22:02:36 +09:00
peaceiris
2306f39f4e chore(release): Remove build assets [skip ci] 2023-01-05 21:54:56 +09:00
peaceiris
64b46b4226 chore(release): 3.9.1
Some checks failed
Release / release (push) Failing after 0s
2023-01-05 21:54:56 +09:00
peaceiris
1a7c3d89ae chore(release): Add build assets 2023-01-05 21:54:54 +09:00
dependabot[bot]
679dbf02f6 deps: bump @actions/github from 5.0.1 to 5.1.1 (#785)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-05 21:52:39 +09:00
dependabot[bot]
25b12e2a24 deps: bump @actions/glob from 0.2.1 to 0.3.0 (#735)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-05 21:52:05 +09:00
dependabot[bot]
2f463a5ad5 deps: bump minimatch from 3.0.4 to 3.1.2 (#807)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-05 21:51:31 +09:00
dependabot[bot]
f94667a25c ci: bump peaceiris/workflows from 0.17.2 to 0.18.1 (#806)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-05 21:10:47 +09:00
renovate[bot]
fdfb4d88a0 chore(deps): update node.js to v16.19.0 (#804)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-04 13:39:08 +09:00
renovate[bot]
072d16c439 ci: add Renovate config (#802)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Shohei Ueda <30958501+peaceiris@users.noreply.github.com>
2023-01-04 13:30:36 +09:00
Mike Hucka
7166f2caa4 docs: replace deprecated set-output (#800)
As of October 2022, the `set-output` construct is deprecated by GitHub for GitHub Actions. Source:

https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

This commit changes the use of the construct for the Sphinx example in the README.md file.
2022-11-22 11:11:33 +09:00
dependabot[bot]
e3b45f2700 ci: bump actions/dependency-review-action from 2 to 3 (#799)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-15 10:35:59 +09:00
Shohei Ueda
1808965241 chore: change cicd label name 2022-11-15 10:35:40 +09:00
dependabot[bot]
a5f971f112 ci: bump peaceiris/actions-github-app-token from 1.1.4 to 1.1.5 (#798)
Bumps [peaceiris/actions-github-app-token](https://github.com/peaceiris/actions-github-app-token) from 1.1.4 to 1.1.5.
- [Release notes](https://github.com/peaceiris/actions-github-app-token/releases)
- [Commits](https://github.com/peaceiris/actions-github-app-token/compare/v1.1.4...v1.1.5)

---
updated-dependencies:
- dependency-name: peaceiris/actions-github-app-token
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-11 21:04:15 +09:00
dependabot[bot]
087a759f90 ci: bump peaceiris/workflows from 0.17.1 to 0.17.2 (#794)
Bumps [peaceiris/workflows](https://github.com/peaceiris/workflows) from 0.17.1 to 0.17.2.
- [Release notes](https://github.com/peaceiris/workflows/releases)
- [Commits](https://github.com/peaceiris/workflows/compare/v0.17.1...v0.17.2)

---
updated-dependencies:
- dependency-name: peaceiris/workflows
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-25 00:47:51 +09:00
dependabot[bot]
9af6a68dde ci: bump peaceiris/actions-mdbook from 1.1.14 to 1.2.0 (#793)
Bumps [peaceiris/actions-mdbook](https://github.com/peaceiris/actions-mdbook) from 1.1.14 to 1.2.0.
- [Release notes](https://github.com/peaceiris/actions-mdbook/releases)
- [Changelog](https://github.com/peaceiris/actions-mdbook/blob/main/CHANGELOG.md)
- [Commits](https://github.com/peaceiris/actions-mdbook/compare/v1.1.14...v1.2.0)

---
updated-dependencies:
- dependency-name: peaceiris/actions-mdbook
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-25 00:36:26 +09:00
peaceiris
811c45844b chore(release): Remove build assets [skip ci] 2022-10-23 23:44:57 +09:00
peaceiris
de7ea6f8ef chore(release): 3.9.0
Some checks failed
Release / release (push) Failing after 0s
2022-10-23 23:44:56 +09:00
peaceiris
1bf4b35fd8 chore(release): Add build assets 2022-10-23 23:44:51 +09:00
Shohei Ueda
44a2b4403c feat: bump node12 to node16 (#791)
* feat: bump node12 to node16
* deps: bump node from 12.22.10 to 16.18.0
* deps: bump @actions/core from 1.6.0 to 1.10.0
* chore: remove dev docker image, Makefile
* docs: replace set-output with GITHUB_OUTPUT
* docs: bump actions/cache from v2 to v3
2022-10-23 23:43:50 +09:00
Shohei Ueda
2bef62f818 ci: use actions-github-app-token 2022-10-23 11:31:21 +09:00
dependabot[bot]
2c04d6b595 ci: bump peaceiris/workflows from 0.16.0 to 0.17.1 (#789)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-17 23:59:36 +09:00
Shohei Ueda
f2ac8b62c4 chore: fix year 2022-10-16 01:12:47 +09:00
Shohei Ueda
402af2bd61 chore: add duplicate 2022-10-13 23:39:15 +09:00
Shohei Ueda
e1448a73ca docs: bump hugo-version to 0.101.0 (#779) 2022-09-05 10:07:13 +09:00
Sardorbek Imomaliev
2eea5d7a12 ci: drop ubuntu-18.04, add 22.04, latest (#776) 2022-09-04 22:40:50 +09:00
Shohei Ueda
765cf1194e docs: add note GitHub official Action 2022-08-11 10:30:47 +09:00
Shohei Ueda
b4af807921 docs: add Custom GitHub Actions Workflows beta 2022-07-28 10:26:52 +09:00
dependabot[bot]
05d272de6c ci: bump peaceiris/workflows from 0.15.0 to 0.16.0 (#766)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-12 21:50:54 +09:00
Shohei Ueda
f1f4f15397 chore: update year from 2020 to 2022 2022-07-11 22:22:56 +09:00
Denis Pisarev
97637bffb0 docs: add rustdoc hint (#764) 2022-06-29 20:16:59 +09:00
dependabot[bot]
1304921c60 ci: bump actions/dependency-review-action from 1 to 2 (#762)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-16 00:43:48 +09:00
Andy Li
da72d057b9 docs: Improve custom branch clarity (#761) 2022-06-14 22:24:35 +09:00
Gabin Aureche
ac45008338 docs: Add GitHub documentation references to permissions (#754) 2022-05-17 10:12:16 +09:00
Shohei Ueda
414c92c5ff docs: add permissions contents write (#753) 2022-05-17 00:40:42 +09:00
Gabin Aureche
9084ef1cda Document fix for unauthorized push (#752)
Co-authored-by: peaceiris <30958501+peaceiris@users.noreply.github.com>
2022-05-16 23:09:17 +09:00
dependabot[bot]
da398914f7 ci: bump peaceiris/workflows from 0.14.1 to 0.15.0 (#751)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-16 21:15:10 +09:00
dependabot[bot]
cf3948a236 ci: bump github/codeql-action from 1 to 2 (#739)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-26 21:38:12 +09:00
dependabot[bot]
a762c3ec54 ci: bump peaceiris/workflows from 0.13.0 to 0.14.1 (#737)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-26 10:06:14 +09:00
dependabot[bot]
d4f052f1e8 ci: bump peaceiris/workflows from 0.12.0 to 0.13.0 (#734)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-19 09:06:46 +09:00
dependabot[bot]
8a7e1fb6f4 ci: bump peaceiris/workflows from 0.11.0 to 0.12.0 (#733)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-12 23:15:04 +09:00
dependabot[bot]
fb2c292cba ci: bump actions/upload-artifact from 2 to 3 (#732)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-11 21:35:47 +09:00
Shohei Ueda
3cc0a55ff5 ci: add actions/dependency-review-action 2022-04-11 00:23:17 +09:00
Lete
8b39fa2270 refactor(get-inputs): add isBoolean (#731) 2022-04-10 22:54:45 +09:00
dependabot[bot]
1226087547 ci: bump codecov/codecov-action from 2.1.0 to 3 (#729)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-06 21:37:53 +09:00
dependabot[bot]
c006717cf0 deps: bump @actions/glob from 0.2.0 to 0.2.1 (#721)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-01 15:35:40 +09:00
dependabot[bot]
2fa23228a5 deps: bump @actions/exec from 1.1.0 to 1.1.1 (#720)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-01 15:30:59 +09:00
dependabot[bot]
2b83a4b24b deps: bump @actions/io from 1.1.1 to 1.1.2 (#722)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-01 15:30:36 +09:00
dependabot[bot]
46202b8118 deps: bump @actions/github from 5.0.0 to 5.0.1 (#728)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-01 14:53:38 +09:00
dependabot[bot]
4403b8b8f3 deps: bump minimist from 1.2.5 to 1.2.6 (#726)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-26 13:07:26 +09:00
Shohei Ueda
f1e14e1adb bump checkout setup-node setup-python from v2 to v3 (#723) 2022-03-19 15:15:01 +09:00
dependabot[bot]
c921422e37 ci: bump actions/checkout from 2.4.0 to 3 (#715)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-02 21:13:55 +09:00
dependabot[bot]
7954f3d89e ci: bump actions/labeler from 3 to 4 (#716)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-02 21:13:47 +09:00
dependabot[bot]
c188bee6f9 ci: bump actions/setup-node from 2.5.1 to 3 (#713)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-27 12:47:46 +09:00
dependabot[bot]
150e20f82d deps: bump @actions/core from 1.5.0 to 1.6.0 (#657)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-11 12:05:55 +09:00
Shohei Ueda
e93815b9d9 Node v12.22.10 (#709) 2022-02-11 11:20:21 +09:00
César García
cd6de7d5f9 Update README.md (#708) 2022-02-10 06:57:30 +09:00
Shohei Ueda
aa8658fb62 Update README.md 2022-02-07 18:00:04 +09:00
dependabot[bot]
2e09f809f8 deps: bump @types/shelljs from 0.8.9 to 0.8.11 (#693)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-05 17:31:41 +09:00
Shohei Ueda
7249b6ae12 Remove step to upgrade npm (#706) 2022-02-05 17:24:35 +09:00
dependabot[bot]
892ca34305 deps: bump shelljs from 0.8.4 to 0.8.5 (#692)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-04 20:35:07 +09:00
dependabot[bot]
127e2d7a36 ci: bump actions/setup-node from 2.5.0 to 2.5.1 (#689)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-28 21:46:09 +09:00
Shohei Ueda
d7ab6dea49 chore: Set required to false 2021-12-21 12:32:37 +09:00
Shohei Ueda
e8cba386c2 chore: Set required to false 2021-12-21 12:22:35 +09:00
dependabot[bot]
88eb3e4384 ci: bump actions/setup-node from 2.4.1 to 2.5.0 (#673)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-29 22:09:27 +09:00
dependabot[bot]
d3d121d594 ci: bump actions/checkout from 2.3.5 to 2.4.0 (#668)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-04 00:15:44 +09:00
Shohei Ueda
9852ec05a9 Change title 2021-10-21 19:09:37 +09:00
dependabot[bot]
b19f8b8110 ci: bump actions/checkout from 2.3.4 to 2.3.5 (#664)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-20 12:39:49 +09:00
Shohei Ueda
cc6f656fa1 Bump doctoc from 2.0.0 to 2.1.0 (#662) 2021-10-14 13:01:57 +09:00
Shohei Ueda
834306ba27 docs: Update enable_jekyll description (#661)
Close #660
2021-10-09 22:04:44 +09:00
dependabot[bot]
40737e192d ci: bump peaceiris/workflows from 0.10.0 to 0.11.0 (#659)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-05 09:44:58 +09:00
peaceiris
9856f8c8f8 docs: Fix redirected links 2021-10-01 13:16:39 +09:00
peaceiris
84ef946460 docs: Update redirected links 2021-10-01 13:01:59 +09:00
dependabot[bot]
52f1a5023a ci: bump actions/setup-node from 2.4.0 to 2.4.1 (#656)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-29 22:04:21 +09:00
dependabot[bot]
40515c605b ci: bump codecov/codecov-action from 2.0.3 to 2.1.0 (#655)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 2.0.3 to 2.1.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v2.0.3...v2.1.0)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-15 18:14:56 +09:00
dependabot[bot]
7ea91005e5 deps: bump @types/shelljs from 0.8.8 to 0.8.9 (#654)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-10 12:06:51 +09:00
Shohei Ueda
57d746cd24 docs: Remove github/personal-website (#653) 2021-09-10 00:07:41 +09:00
dependabot[bot]
2c9f8534d2 deps: bump @actions/io from 1.1.0 to 1.1.1 (#619)
Bumps [@actions/io](https://github.com/actions/toolkit/tree/HEAD/packages/io) from 1.1.0 to 1.1.1.
- [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/tool-cache@1.1.1/packages/io)

---
updated-dependencies:
- dependency-name: "@actions/io"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

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

---
updated-dependencies:
- dependency-name: "@actions/exec"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-09 12:56:46 +09:00
dependabot[bot]
f34f14adb0 deps: bump @actions/glob from 0.1.1 to 0.2.0 (#620)
Bumps [@actions/glob](https://github.com/actions/toolkit/tree/HEAD/packages/glob) from 0.1.1 to 0.2.0.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/glob/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/glob)

---
updated-dependencies:
- dependency-name: "@actions/glob"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-09 12:48:45 +09:00
dependabot[bot]
f29aeb91b3 deps: bump @actions/github from 4.0.0 to 5.0.0 (#612)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-09 12:42:28 +09:00
Shohei Ueda
be584e1ad2 deps: Bump node from 12.22.4 to 12.22.6 (#652) 2021-09-09 12:40:16 +09:00
dependabot[bot]
eb802f35ce deps: bump @actions/core from 1.2.7 to 1.5.0 (#645)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-09 12:38:14 +09:00
dependabot[bot]
d936c20237 ci: bump peaceiris/workflows from 0.8.1 to 0.10.0 (#648)
Bumps [peaceiris/workflows](https://github.com/peaceiris/workflows) from 0.8.1 to 0.10.0.
- [Release notes](https://github.com/peaceiris/workflows/releases)
- [Commits](https://github.com/peaceiris/workflows/compare/v0.8.1...v0.10.0)

---
updated-dependencies:
- dependency-name: peaceiris/workflows
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-30 22:32:11 +09:00
dependabot[bot]
e363e57959 ci: bump codecov/codecov-action from 2.0.2 to 2.0.3 (#646)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-25 23:36:02 +09:00
Shohei Ueda
62644d80d0 Add inactive and stale 2021-08-11 03:59:22 +09:00
peaceiris
d3619256d8 Fix typo 2021-08-11 03:43:50 +09:00
peaceiris
918154021f deps: node 12.22.4 2021-08-11 03:43:21 +09:00
dependabot[bot]
288fd14689 ci: bump actions/setup-node from 2.3.2 to 2.4.0 (#639)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.3.2 to 2.4.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.3.2...v2.4.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-07 02:45:20 +09:00
dependabot[bot]
4a55c4533b ci: bump actions/setup-node from 2.3.1 to 2.3.2 (#637)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.3.1 to 2.3.2.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.3.1...v2.3.2)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-05 21:06:58 +09:00
dependabot[bot]
d5e7428359 ci: bump actions/setup-node from 2.3.0 to 2.3.1 (#636)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.3.0...v2.3.1)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-04 21:30:12 +09:00
Shohei Ueda
55635e9193 chore: Disable Bug Report 2021-08-01 15:47:21 +09:00
dependabot[bot]
d4b79aef1f ci: bump codecov/codecov-action from 2.0.1 to 2.0.2 (#634)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v2.0.1...v2.0.2)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-26 22:09:34 +09:00
Shohei Ueda
fde6b1864d chore: Fix prettier (#633) 2021-07-26 15:32:27 +09:00
dependabot[bot]
69191bfb1c ci: bump actions/setup-node from 2.2.0 to 2.3.0 (#632)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.2.0...v2.3.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-21 21:09:53 +09:00
peaceiris
f7a748bfc9 fix: Improve if syntax 2021-07-21 04:26:18 +09:00
dependabot[bot]
90e01d5ddd ci: bump codecov/codecov-action from 1.5.2 to 2.0.1 (#631)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 1.5.2 to 2.0.1.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v1.5.2...v2.0.1)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-20 21:25:56 +09:00
peaceiris
e91a189d4c chore: Fix workflow name 2021-07-13 09:13:46 +09:00
peaceiris
b5022f9875 chore: fix title 2021-07-12 12:24:57 +09:00
peaceiris
ecd92e3bae chore: Convert templates to YAML issue forms 2021-07-12 12:20:58 +09:00
peaceiris
913377f052 docs: Improve usage of concurrency 2021-07-12 10:10:47 +09:00
Shohei Ueda
cdd482ae85 docs: Improve title 2021-07-12 09:03:21 +09:00
peaceiris
a99b730d28 docs: Use ubuntu-20.04 2021-07-12 02:30:18 +09:00
peaceiris
edb4f3effe ci: Add concurrency 2021-07-12 02:20:25 +09:00
peaceiris
7e7d7dff41 docs: Add concurrency 2021-07-12 02:19:15 +09:00
peaceiris
69f1241495 chore: Improve checklist 2021-07-10 11:31:04 +09:00
Shohei Ueda
f321f46f65 deps: bump node from 12.22.1 to 12.22.2 (#628) 2021-07-10 11:27:16 +09:00
Shohei Ueda
063f7de6c4 ci: Improve step filters (#629) 2021-07-10 11:19:30 +09:00
dependabot[bot]
3edcc53d62 ci: bump actions/setup-node from 2.1.5 to 2.2.0 (#626)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.1.5 to 2.2.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.1.5...v2.2.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-03 04:56:22 +09:00
peaceiris
c618621f20 ci: Install actions-label-commenter"
https://github.com/peaceiris/actions-label-commenter
2021-06-26 01:48:26 +09:00
Shohei Ueda
8f8bc4611e ci: Change trigger from published to released 2021-06-18 19:35:17 +09:00
Shohei Ueda
183add1cc5 ci: update contact_links 2021-06-16 15:29:47 +09:00
dependabot[bot]
3087a3437e ci: bump codecov/codecov-action from 1.5.0 to 1.5.2 (#622)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-09 14:04:48 +09:00
Shohei Ueda
6a30129b5b chore: improve Check list 2021-05-19 20:53:48 +09:00
peaceiris
b1a4f2701c docs: Add pull_request event 2021-05-18 00:13:16 +09:00
peaceiris
e831faae0e docs: Bump node from 12 to 14 2021-05-15 14:51:46 +09:00
dependabot[bot]
3102151215 ci: bump actions/checkout from 2 to 2.3.4 (#610)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 2.3.4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v2.3.4)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-12 14:13:27 +09:00
dependabot[bot]
a22219e8e4 ci: bump codecov/codecov-action from v1.4.1 to v1.5.0 (#607)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from v1.4.1 to v1.5.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v1.4.1...a1ed4b322b4b38cb846afb5a0ebfa17086917d27)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-05 23:23:25 +09:00
Shohei Ueda
b8eb1aeda4 ci: Drop ubuntu-16.04 (#606) 2021-05-01 22:09:18 +09:00
Shohei Ueda
a43024e6c0 docs: update description of disable_nojekyll 2021-04-24 14:29:50 +09:00
dependabot[bot]
e2a264646b ci: bump codecov/codecov-action from v1.4.0 to v1.4.1 (#604)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from v1.4.0 to v1.4.1.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v1.4.0...967e2b38a85a62bd61be5529ada27ebc109948c2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-21 15:10:25 +09:00
dependabot[bot]
b4ccfe80a6 ci: bump codecov/codecov-action from v1.3.2 to v1.4.0 (#602)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from v1.3.2 to v1.4.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v1.3.2...0e28ff86a50029a44d10df6ed4c308711925a6a8)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-19 18:57:08 +09:00
Shohei Ueda
193a76dc62 deps: Bump node from 12.22.0 to 12.22.1 (#601) 2021-04-19 02:32:24 +09:00
dependabot[bot]
2d4d4fccc0 deps: bump @actions/core from 1.2.6 to 1.2.7 (#600)
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:38:58 +09:00
dependabot[bot]
1d0fa1a644 ci: bump codecov/codecov-action from v1.3.1 to v1.3.2 (#594)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from v1.3.1 to v1.3.2.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v1.3.1...9b0b9bbe2c64e9ed41413180dd7398450dfeee14)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-07 18:53:23 +09:00
dependabot[bot]
95ad0343aa deps: bump @actions/io from 1.0.2 to 1.1.0 (#593)
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:10 +09:00
Shohei Ueda
2decf4e752 deps: Bump node from 12.21.0 to 12.22.0 (#592) 2021-04-01 22:31:03 +09:00
Shohei Ueda
9641296c3d docs: Uncomment GHES section 2021-03-29 20:29:05 +09:00
peaceiris
0e596805b1 docs: fix level of title heading 2021-03-26 17:49:10 +09:00
peaceiris
35c9643c95 docs: Enable GitHub native ToC 2021-03-26 17:33:37 +09:00
Shohei Ueda
3d71e70db9 docs: Add CNAME details for newbies 2021-03-26 14:46:56 +09:00
peaceiris
b6958bc4fa chore(release): Remove build assets [skip ci] 2021-03-25 22:23:47 +09:00
peaceiris
068dc23d97 chore(release): 3.8.0
Some checks failed
Release / release (push) Has been cancelled
2021-03-25 22:23:46 +09:00
peaceiris
381a7b30d0 chore(release): Add build assets 2021-03-25 22:23:45 +09:00
dependabot[bot]
e4724d9526 ci: bump codecov/codecov-action from v1.2.2 to v1.3.1 (#585)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from v1.2.2 to v1.3.1.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v1.2.2...fcebab03f26c7530a22baa63f06b3e0515f0c7cd)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-18 02:43:01 +09:00
Shohei Ueda
b52df3c817 build: fix dev docker image (#584) 2021-03-10 19:52:56 +09:00
dependabot[bot]
65a821ebc7 ci: bump codecov/codecov-action from v1.2.1 to v1.2.2 (#583)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from v1.2.1 to v1.2.2.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v1.2.1...1f8f3abcccf7960749744fd13547965f0e7d1bdd)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-10 14:25:35 +09:00
Shohei Ueda
ebe02723dc deps: bump node from 12.20.1 to 12.21.0 (#582) 2021-03-10 12:58:23 +09:00
peaceiris
bf41193762 docs: comment out GHES section 2021-03-09 20:53:36 +09:00
peaceiris
628161d570 chore: remove lib 2021-03-09 20:52:41 +09:00
Dominik Meyer
3623583f73 feat: Add GHES support 🏢 (#580)
Changes for #579

Co-authored-by: dom <dominik.meyer01@sap.com>
2021-03-09 20:51:31 +09:00
Shohei Ueda
a0db9b66be chore: Add postinstall for husky install (#578) 2021-03-06 23:13:46 +09:00
Shohei Ueda
0a4c122ea4 deps: update devDependencies (#577) 2021-03-06 22:14:18 +09:00
Shohei Ueda
07f38c68fa build: Set target to ES2019 (#576) 2021-03-05 02:03:11 +09:00
dependabot[bot]
94fb28f81c ci: bump actions/setup-node from v2.1.4 to v2.1.5 (#574)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from v2.1.4 to v2.1.5.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.1.4...46071b5c7a2e0c34e49c3cb8a0e792e86e18d5ea)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-23 20:55:56 +09:00
Shohei Ueda
99df4b07a7 ci: Add --unsafe-perm=true --allow-root (#573) 2021-02-23 02:36:11 +09:00
Shohei Ueda
0ed12e5298 ci: Remove husky and lint-staged (#572) 2021-02-23 01:55:16 +09:00
Shohei Ueda
77ce5ecb49 chore: update package-lock.json (#567) 2021-02-20 18:31:41 +09:00
Shohei Ueda
e27e41d7ce docs: Improve description of destination_dir and keep_files (#569)
https://github.com/peaceiris/actions-gh-pages/issues/324#issuecomment-779218091

Co-authored-by: Matthias Mohr <webmaster@mamo-net.de>
2021-02-16 20:13:09 +09:00
peaceiris
d3a97d53a8 ci: Fix husky post-merge 2021-02-10 14:14:41 +09:00
peaceiris
03d253207f ci: Remove skipci job 2021-02-09 19:23:44 +09:00
peaceiris
47a5b8c834 ci: Migrate husky from v4 to v5 2021-02-09 19:23:10 +09:00
Shohei Ueda
1d14b37db2 deps: Bump npm to v7 (#564)
And updated engines field

cf. [npm 7 is now generally available! - The GitHub Blog](https://github.blog/2021-02-02-npm-7-is-now-generally-available/)
2021-02-03 16:49:49 +09:00
Shohei Ueda
9b425f80df deps: update devDependencies (#563) 2021-02-03 10:42:22 +09:00
Oleh Prypin
fcead0e030 ci: Exclude writing actions on forks (#562)
Co-authored-by: peaceiris <30958501+peaceiris@users.noreply.github.com>
2021-01-21 22:10:28 +09:00
dependabot[bot]
87b7480404 ci: bump peaceiris/actions-mdbook from v1.1.13 to v1.1.14 (#561)
Bumps [peaceiris/actions-mdbook](https://github.com/peaceiris/actions-mdbook) from v1.1.13 to v1.1.14.
- [Release notes](https://github.com/peaceiris/actions-mdbook/releases)
- [Changelog](https://github.com/peaceiris/actions-mdbook/blob/main/CHANGELOG.md)
- [Commits](https://github.com/peaceiris/actions-mdbook/compare/v1.1.13...4b5ef36b314c2599664ca107bb8c02412548d79d)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-18 17:55:21 +09:00
Shohei Ueda
3baf850920 deps: bump node from 12.20.0 to 12.20.1 (#560) 2021-01-08 16:27:54 +09:00
dependabot[bot]
071f8cbc5a ci: bump codecov/codecov-action from v1.2.0 to v1.2.1 (#559)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from v1.2.0 to v1.2.1.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v1.2.0...e156083f13aff6830c92fc5faa23505779fbf649)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-06 14:44:08 +09:00
Shohei Ueda
4b77300e3c deps: update devDependencies (#558) 2021-01-06 00:34:54 +09:00
dependabot[bot]
1fd941c40a ci: bump codecov/codecov-action from v1.1.1 to v1.2.0 (#557)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from v1.1.1 to v1.2.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v1.1.1...a92c414703a4bba586f6df7fcc885c9d0bdff772)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-05 18:27:32 +09:00
Shohei Ueda
5b8ea1e7ee docs: bump mdbook from 0.3.7 to 0.4.5 (#556) 2021-01-05 05:26:50 +09:00
peaceiris
fe996f57a5 docs: notes of GITHUB_TOKEN for newbies 2021-01-03 08:02:51 +09:00
dependabot[bot]
852bfb8e83 ci: bump peaceiris/workflows from v0.7.0 to v0.8.1 (#555)
Bumps [peaceiris/workflows](https://github.com/peaceiris/workflows) from v0.7.0 to v0.8.1.
- [Release notes](https://github.com/peaceiris/workflows/releases)
- [Commits](https://github.com/peaceiris/workflows/compare/v0.7.0...c5f4695d45956fa26dd97690a03406cbc1c8f510)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-28 14:50:21 +09:00
Shohei Ueda
3f0d4cea48 chore: Add link to create-release-npm
peaceiris/workflows/create-release-npm
2020-12-27 18:09:54 +09:00
dependabot[bot]
facb2e7272 deps: bump node-notifier from 8.0.0 to 8.0.1 (#554)
Bumps [node-notifier](https://github.com/mikaelbr/node-notifier) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/mikaelbr/node-notifier/releases)
- [Changelog](https://github.com/mikaelbr/node-notifier/blob/v8.0.1/CHANGELOG.md)
- [Commits](https://github.com/mikaelbr/node-notifier/compare/v8.0.0...v8.0.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-23 10:05:52 +09:00
dependabot[bot]
77a99cbdfe ci: bump codecov/codecov-action from v1.1.0 to v1.1.1 (#553)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from v1.1.0 to v1.1.1.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v1.1.0...1fc7722ded4708880a5aea49f2bfafb9336f0c8d)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-22 15:13:42 +09:00
Shohei Ueda
38add90c90 Update README.md 2020-12-20 01:46:48 +09:00
Shohei Ueda
419385e998 add test and docker 2020-12-18 17:02:11 +09:00
Shohei Ueda
584ffda459 ci: remove CODECOV_TOKEN (#552)
> For public repositories, no token is needed

https://github.com/codecov/codecov-action
2020-12-18 16:42:51 +09:00
Shohei Ueda
eaab2e3404 ci: add labeler.yml 2020-12-18 16:37:46 +09:00
Shohei Ueda
33f5d6c1bf ci: add actions/labeler 2020-12-18 16:34:32 +09:00
Shohei Ueda
b427ba5d48 deps: update devDependencies (#551) 2020-12-18 15:09:01 +09:00
dependabot[bot]
f06a7f8795 ci: bump codecov/codecov-action from v1.0.15 to v1.1.0 (#550)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from v1.0.15 to v1.1.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v1.0.15...7de43a7373de21874ae196a78f8eb633fcf7f0c4)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-18 14:36:04 +09:00
dependabot[bot]
7d345152fb ci: bump actions/setup-node from v2.1.3 to v2.1.4 (#549)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from v2.1.3 to v2.1.4.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.1.3...c46424eee26de4078d34105d3de3cc4992202b1e)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-17 17:47:18 +09:00
dependabot[bot]
75c0bf7407 deps: bump ini from 1.3.5 to 1.3.8 (#547)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-12 16:24:50 +09:00
dependabot[bot]
44a3899927 ci: bump actions/setup-node from v2.1.2 to v2.1.3 (#546)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from v2.1.2 to v2.1.3.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.1.2...27082cecf3ff7a1742dbd5e12605f0cb59dce2d9)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-11 14:08:55 +09:00
peaceiris
727890a27e chore: bump doctoc from 1.4.0 to 2.0.0 2020-12-05 09:47:15 +09:00
Shohei Ueda
4adbf1cc05 deps: bump node from 12.19.1 to 12.20.0 (#543) 2020-12-02 12:53:29 +09:00
Shohei Ueda
3dbd73271d chore: fix typo 2020-11-29 20:04:03 +09:00
Shohei Ueda
6004cfef02 chore: update redirected links 2020-11-29 20:02:11 +09:00
Shohei Ueda
d04f65f985 chore: update link to github.community
GitHub Support Community Forum GitHub Actions category
old https://github.community/c/github-actions
new https://github.community/c/code-to-cloud/github-actions/41
2020-11-29 20:00:01 +09:00
peaceiris
1054f6a6b9 docs: bump actions/setup-node
Close #542
2020-11-29 03:41:13 +09:00
Shohei Ueda
6c2db6e184 ci: pin actions/checkout to v2 (#541) 2020-11-23 21:43:45 +09:00
Shohei Ueda
3ba244e8d4 ci: remove options no longer needed (#540) 2020-11-23 13:48:34 +09:00
Shohei Ueda
8cc3a89d3b deps: bump node from 12.19.0 to 12.19.1 (#538) 2020-11-21 10:26:59 +09:00
dependabot[bot]
aedef9f283 ci: bump codecov/codecov-action from v1.0.14 to v1.0.15 (#535)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from v1.0.14 to v1.0.15.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Commits](https://github.com/codecov/codecov-action/compare/v1.0.14...239febf655bba88b16ff5dea1d3135ea8663a1f9)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-20 13:40:36 +09:00
dependabot[bot]
2fa771f89e deps: bump @actions/glob from 0.1.0 to 0.1.1 (#534)
Bumps [@actions/glob](https://github.com/actions/toolkit/tree/HEAD/packages/glob) from 0.1.0 to 0.1.1.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/glob)

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:37 +09:00
Shohei Ueda
f0573f94d8 deps: update devDependencies (#533) 2020-11-13 18:13:58 +09:00
Shohei Ueda
4c8cffc919 deps: update dev deps (#529) 2020-10-21 00:42:45 +09:00
peaceiris
1e6dccf5ca chore(release): Remove build assets [skip ci] 2020-10-20 23:58:59 +09:00
peaceiris
bbdfb20061 chore(release): 3.7.3
Some checks failed
Release / release (push) Has been cancelled
2020-10-20 23:58:59 +09:00
peaceiris
7fd2e42a05 chore(release): Add build assets 2020-10-20 23:58:57 +09:00
Shohei Ueda
e93eed3ba7 fix: copyAssets and deleteExcludedAssets (#528) 2020-10-20 23:57:59 +09:00
Sergio A. Arevalo Soria
cf805b9457 docs: Add link to create-react-app (#525)
Add notes:

> Please check where your output directory is before pushing your workflow.
> e.g. `create-react-app` requires `publish_dir` to be set to `./build`

Co-authored-by: Shohei Ueda <30958501+peaceiris@users.noreply.github.com>
2020-10-20 13:42:47 +09:00
dependabot[bot]
c4241b26fb ci: bump codecov/codecov-action from v1.0.13 to v1.0.14 (#526)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from v1.0.13 to v1.0.14.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Commits](https://github.com/codecov/codecov-action/compare/v1.0.13...7d5dfa54903bd909319c580a00535b483d1efcf3)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-19 16:12:02 +09:00
peaceiris
4f6b15a24f chore(release): Remove build assets [skip ci] 2020-10-15 11:52:16 +09:00
62 changed files with 11046 additions and 6611 deletions

View File

@@ -9,8 +9,7 @@
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:jest/recommended",
"plugin:prettier/recommended",
"prettier/@typescript-eslint"
"plugin:prettier/recommended"
],
"plugins": ["@typescript-eslint"],
"globals": {

View File

@@ -1,36 +0,0 @@
---
name: User Support
about: Questions for this Action
title: 'sample_title'
labels: support
assignees: peaceiris
---
<!-- Note that an issue which does not follow the template will be closed silently. -->
### Check list before opening this issue
- [ ] I read the latest README
- I checked [Available Options](https://github.com/peaceiris/actions-gh-pages#options)
- I followed [Tips and FAQ](https://github.com/peaceiris/actions-gh-pages#tips-and-faq)
- I tried [Workflow Examples](https://github.com/peaceiris/actions-gh-pages#examples)
- I read the latest GitHub Actions official documentation and learned the basic spec and concepts
### Describe your question
<!-- A clear and concise description of what the question is. -->
### Link to your contents
<!--
- Link to your public repository here
- Link to your workflow here
-->
### Screenshots
<!-- If applicable, add screenshots to help explain your question. -->
### Additional context
<!-- Add any other context about the problem here. -->

View File

@@ -0,0 +1,52 @@
name: User Support
description: Questions for this action
title: "support: "
labels: support
assignees: peaceiris
body:
- type: markdown
attributes:
value:
Please note we will close your issue without comment if you do not fill out the issue checklist below and provide ALL the requested information.
- type: checkboxes
attributes:
label: Checklist
description: Checklist before creating an issue.
options:
- label: "I am using the latest version of this action."
required: true
- label: "I have read the latest README and followed the instructions."
required: true
- label: "I have read the latest GitHub Actions official documentation and learned the basic spec and concepts."
required: true
- type: textarea
attributes:
label: Describe your question
description: A clear and concise description of what the question is.
validations:
required: true
- type: textarea
attributes:
label: Relevant links
description:
Links to your public repository, YAML config file, and YAML workflow file.
Please use [a permanent link](https://docs.github.com/en/github/managing-files-in-a-repository/managing-files-on-github/getting-permanent-links-to-files), not a default branch.
render: markdown
value: |
Public repository:
YAML config:
YAML workflow:
validations:
required: true
- type: textarea
attributes:
label: Relevant log output
description: Copy and paste any relevant log output here.
validations:
required: false
- type: textarea
attributes:
label: Additional context.
description: Write any other context about the question here.
validations:
required: false

View File

@@ -1,44 +0,0 @@
---
name: Bug Report
about: First, use the User Support Issue Template
title: 'sample_title'
labels: bug
assignees: peaceiris
---
<!-- Note that an issue which does not follow the template will be closed silently. -->
### Describe the bug
<!-- A clear and concise description of what the bug is. -->
### To Reproduce
<!--
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
-->
### Expected behavior
<!-- A clear and concise description of what you expected to happen. -->
### Screenshots
<!-- If applicable, add screenshots to help explain your problem. -->
### Your YAML file
<!--
- A link to your repository
- A link to your YAML file
-->
### Additional context
<!-- Add any other context about the problem here. -->

52
.github/ISSUE_TEMPLATE/2_bug_report.txt vendored Normal file
View File

@@ -0,0 +1,52 @@
name: Bug Report
description: Try the User Support Issue Template first.
title: 'bug: '
labels: bug
assignees: peaceiris
body:
- type: markdown
attributes:
value:
Please note we will close your issue without comment if you do not fill out the issue checklist below and provide ALL the requested information.
- type: checkboxes
attributes:
label: Checklist
description: Checklist before creating an issue.
options:
- label: "I am using the latest version of this action."
required: true
- label: "I have read the latest README and followed the instructions."
required: true
- label: "I have read the latest GitHub Actions official documentation and learned the basic spec and concepts."
required: true
- type: textarea
attributes:
label: "Describe the bug"
description: "A clear and concise description of what the bug is."
validations:
required: true
- type: textarea
attributes:
label: Relevant links
description:
Links to your public repository, YAML config file, and YAML workflow file.
Please use [a permanent link](https://docs.github.com/en/github/managing-files-in-a-repository/managing-files-on-github/getting-permanent-links-to-files), not a default branch.
render: markdown
value: |
Public repository:
YAML config:
YAML workflow:
validations:
required: true
- type: textarea
attributes:
label: Relevant log output
description: Copy and paste any relevant log output here.
validations:
required: false
- type: textarea
attributes:
label: Additional context.
description: Write any other context about the question here.
validations:
required: false

View File

@@ -1,26 +0,0 @@
---
name: Proposal
about: Suggest an idea for this project
title: 'sample_title'
labels: proposal
assignees: peaceiris
---
<!-- Note that an issue which does not follow the template will be closed silently. -->
### Is your feature request related to a problem? Please describe
<!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] -->
### Describe the solution you'd like
<!-- A clear and concise description of what you want to happen. -->
### Describe alternatives you've considered
<!-- A clear and concise description of any alternative solutions or features you've considered. -->
### Additional context
<!-- Add any other context or screenshots about the feature request here. -->

45
.github/ISSUE_TEMPLATE/3_proposal.yml vendored Normal file
View File

@@ -0,0 +1,45 @@
name: Proposal
description: Suggest an idea for this project
title: 'proposal: '
labels: proposal
assignees: peaceiris
body:
- type: markdown
attributes:
value:
Please note we will close your issue without comment if you do not fill out the issue checklist below and provide ALL the requested information.
- type: checkboxes
attributes:
label: Checklist
description: Checklist before creating an issue.
options:
- label: "I am using the latest version of this action."
required: true
- label: "I have read the latest README and followed the instructions."
required: true
- label: "I have read the latest GitHub Actions official documentation and learned the basic spec and concepts."
required: true
- type: textarea
attributes:
label: "Describe your proposal"
description: "A clear and concise description of what the proposal is."
validations:
required: true
- type: textarea
attributes:
label: "Describe the solution you'd like"
description: "A clear and concise description of what you want to happen."
validations:
required: true
- type: textarea
attributes:
label: "Describe alternatives you've considered"
description: "A clear and concise description of any alternative solutions or features you've considered."
validations:
required: false
- type: textarea
attributes:
label: "Additional context"
description: "Add any other context or screenshots about the feature request here."
validations:
required: false

View File

@@ -1,11 +1,14 @@
blank_issues_enabled: false
contact_links:
- name: Discussions
url: https://github.com/peaceiris/actions-gh-pages/discussions
about: Ask casual questions or share your story about the GitHub Pages Action.
- name: GitHub Actions - GitHub Support Community Forum
url: https://github.community/c/github-actions
url: https://github.community/c/code-to-cloud/github-actions/41
about: Please ask questions about GitHub Actions here.
- name: GitHub Pages Documentation
url: https://help.github.com/en/github/working-with-github-pages
about: GitHub Pages official documentaion here.
url: https://docs.github.com/en/pages
about: GitHub Pages official documentation here.
- name: GitHub Actions Documentation
url: https://help.github.com/en/actions
about: GitHub Actions official documentaion here.
url: https://docs.github.com/en/actions
about: GitHub Actions official documentation here.

View File

@@ -1,23 +0,0 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
time: '11:00'
timezone: Japan
labels:
- dependencies
allow:
- dependency-type: "production"
commit-message:
prefix: deps
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
labels:
- "CI/CD"
commit-message:
prefix: ci

36
.github/label-commenter-config.yml vendored Normal file
View File

@@ -0,0 +1,36 @@
labels:
- name: resolved
labeled:
issue:
body: |
This issue has been **LOCKED** because of it being resolved!
The issue has been fixed and is therefore considered resolved.
If you still encounter this or it has changed, open a new issue instead of responding to solved ones.
action: close
locking: lock
lock_reason: resolved
- name: inactive
labeled:
issue:
body: |
This issue has been marked as inactive.
If you still encounter this or it has changed, add a comment to provide further information.
- name: stale
labeled:
issue:
body: |
This issue has been **LOCKED** because of it being old.
If you still encounter this or it has changed, open a new issue.
action: close
locking: lock
lock_reason: resolved
- name: duplicate
labeled:
issue:
body: |
This issue has been closed because of duplication.
action: close
locking: lock
lock_reason: resolved

20
.github/labeler.yml vendored Normal file
View File

@@ -0,0 +1,20 @@
cicd:
- .github/workflows/*
dependencies:
- .nvmrc
- package.json
- package-lock.json
documentation:
- README.md
test:
- __tests__
docker:
- .devcontainer/*
- .dockerignore
- Dockerfile
- Makefile
- docker-compose.yml

View File

@@ -8,22 +8,17 @@ on:
jobs:
CodeQL-Build:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 2
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}
- uses: actions/checkout@v3
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
languages: javascript
- name: Autobuild
uses: github/codeql-action/autobuild@v1
uses: github/codeql-action/autobuild@v2
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2

16
.github/workflows/dependency-review.yml vendored Normal file
View File

@@ -0,0 +1,16 @@
# Source repository: https://github.com/actions/dependency-review-action
# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement
name: 'Dependency Review'
on:
pull_request:
permissions:
contents: read
jobs:
dependency-review:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/dependency-review-action@v3

View File

@@ -1,46 +0,0 @@
name: 'Dev Image CI'
on:
workflow_dispatch:
schedule:
- cron: '11 11 * * *'
push:
branches:
- main
paths:
- '.github/workflows/dev-image.yml'
- '.dockerignore'
- '.nvmrc'
- 'Dockerfile'
- 'Makefile'
- 'docker-compose.yml'
pull_request:
paths:
- '.github/workflows/dev-image.yml'
- '.dockerignore'
- '.nvmrc'
- 'Dockerfile'
- 'Makefile'
- 'docker-compose.yml'
jobs:
skipci:
runs-on: ubuntu-18.04
steps:
- run: echo "[skip ci] ${{ contains(github.event.head_commit.message, '[skip ci]') }}"
dev-image-test:
runs-on: ubuntu-18.04
if: contains(github.event.head_commit.message, '[skip ci]') == false
steps:
- uses: actions/checkout@v2.3.1
- name: Login to Packages
run: echo '${{ secrets.GITHUB_TOKEN }}' | docker login 'docker.pkg.github.com' -u 'peaceiris' --password-stdin
- run: docker-compose pull --quiet
if: github.event_name == 'pull_request'
- run: make build
- run: docker images
- run: make ci
- run: make all
- run: docker-compose push
if: github.ref == 'refs/heads/main'

27
.github/workflows/label-commenter.yml vendored Normal file
View File

@@ -0,0 +1,27 @@
name: Label Commenter
on:
issues:
types:
- labeled
- unlabeled
pull_request_target:
types:
- labeled
- unlabeled
permissions:
contents: read
issues: write
pull-requests: write
jobs:
comment:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Label Commenter
uses: peaceiris/actions-label-commenter@v1
env:
RUNNER_DEBUG: 1

22
.github/workflows/labeler.yml vendored Normal file
View File

@@ -0,0 +1,22 @@
name: "Pull Request Labeler"
on:
pull_request_target:
jobs:
triage:
runs-on: ubuntu-22.04
timeout-minutes: 1
permissions: {}
steps:
# https://github.com/peaceiris/actions-github-app-token
- uses: peaceiris/actions-github-app-token@v1.1.6
id: app
with:
app_id: ${{ secrets.GH_APP_ID }}
private_key: ${{ secrets.GH_APP_PRIVATE_KEY }}
# https://github.com/actions/labeler
- uses: actions/labeler@v4
with:
repo-token: "${{ steps.app.outputs.token }}"

View File

@@ -4,7 +4,7 @@ on: page_build
jobs:
pages-status-check:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
steps:
- name: check status
run: |

View File

@@ -7,7 +7,7 @@ on:
jobs:
purge:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
steps:
- run: >

View File

@@ -7,9 +7,10 @@ on:
jobs:
release:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2.3.1
- uses: peaceiris/workflows/create-release-npm@v0.7.0
- uses: actions/checkout@v3
# https://github.com/peaceiris/workflows/blob/main/create-release-npm/action.yml
- uses: peaceiris/workflows/create-release-npm@v0.19.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -10,35 +10,28 @@ on:
paths-ignore:
- '*.md'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- 'ubuntu-22.04'
- 'ubuntu-20.04'
- 'ubuntu-18.04'
- 'ubuntu-16.04'
- 'ubuntu-latest'
- 'macos-latest'
- 'windows-latest'
permissions:
contents: write
steps:
- uses: actions/checkout@v2.3.1
- uses: actions/checkout@v3
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "${GITHUB_CONTEXT}"
- name: Read .nvmrc
run: echo "::set-output name=NVMRC::$(cat .nvmrc)"
id: nvm
- name: Setup Node
uses: actions/setup-node@v2.1.2
- uses: peaceiris/workflows/setup-node@v0.19.1
with:
node-version: '${{ steps.nvm.outputs.NVMRC }}'
- run: npm i -g npm
node-version-file: ".nvmrc"
- name: Dump version
run: |
@@ -46,10 +39,10 @@ jobs:
npm --version
git --version
- run: npm ci
- run: npm ci --ignore-scripts
- name: npm audit
if: startsWith(matrix.os, 'ubuntu-18.04')
if: startsWith(matrix.os, 'ubuntu-22.04')
run: |
npm audit > ./audit.log || true
if ! [ "$(cat ./audit.log | wc -l)" = 1 ]; then
@@ -58,49 +51,47 @@ jobs:
rm ./audit.log
- name: Run prettier
if: startsWith(matrix.os, 'ubuntu-18.04')
if: startsWith(matrix.os, 'ubuntu-22.04')
run: npm run format:check
- name: Run eslint
if: startsWith(matrix.os, 'ubuntu-18.04')
if: startsWith(matrix.os, 'ubuntu-22.04')
run: npm run lint
- run: npm test
- name: Upload test coverage as artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: coverage-${{ matrix.os }}
path: coverage
- uses: codecov/codecov-action@v1.0.13
with:
token: ${{ secrets.CODECOV_TOKEN }}
- uses: codecov/codecov-action@v3
- name: Run ncc
run: npm run build
- name: Remove lint-staged husky
if: github.ref == 'refs/heads/main'
if: ${{ github.ref == 'refs/heads/main' }}
run: |
npm uninstall lint-staged husky
git checkout package-lock.json package.json
- name: Setup mdBook
if: github.ref == 'refs/heads/main'
uses: peaceiris/actions-mdbook@v1.1.13
if: ${{ github.ref == 'refs/heads/main' }}
uses: peaceiris/actions-mdbook@v1.2.0
with:
mdbook-version: '0.3.7'
mdbook-version: '0.4.5'
- name: Build site
if: github.ref == 'refs/heads/main'
if: ${{ github.ref == 'refs/heads/main' }}
working-directory: ./test_projects/mdbook
run: mdbook build
- name: Deploy
if: |
startsWith(matrix.os, 'ubuntu-18.04') &&
github.ref == 'refs/heads/main'
startsWith(matrix.os, 'ubuntu-latest') &&
github.ref == 'refs/heads/main' && github.event.repository.fork == false
uses: ./
with:
# deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
@@ -116,28 +107,10 @@ jobs:
# commit_message: ${{ github.event.head_commit.message }}
cname: 'actions-gh-pages.peaceiris.com'
- name: Deploy
if: |
startsWith(matrix.os, 'ubuntu-16.04') &&
github.ref == 'refs/heads/main'
uses: ./
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
# github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages-ubuntu-16.04
publish_dir: ./test_projects/mdbook/book
# external_repository: ''
allow_empty_commit: true
keep_files: true
force_orphan: true
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
full_commit_message: ${{ github.event.head_commit.message }}
- name: Deploy
if: |
startsWith(matrix.os, 'macos') &&
github.ref == 'refs/heads/main'
github.ref == 'refs/heads/main' && github.event.repository.fork == false
uses: ./
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
@@ -156,7 +129,7 @@ jobs:
- name: Deploy
if: |
startsWith(matrix.os, 'windows') &&
github.ref == 'refs/heads/main'
github.ref == 'refs/heads/main' && github.event.repository.fork == false
uses: ./
with:
# deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
@@ -175,7 +148,7 @@ jobs:
- name: Deploy
if: |
startsWith(matrix.os, 'ubuntu-20.04') &&
github.ref == 'refs/heads/main'
github.ref == 'refs/heads/main' && github.event.repository.fork == false
uses: ./
with:
# deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
@@ -189,3 +162,21 @@ jobs:
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
# commit_message: ${{ github.event.head_commit.message }}
- name: Deploy
if: |
startsWith(matrix.os, 'ubuntu-22.04') &&
github.ref == 'refs/heads/main' && github.event.repository.fork == false
uses: ./
with:
# deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages-ubuntu-22.04
publish_dir: ./test_projects/mdbook/book
# external_repository: ''
allow_empty_commit: true
# keep_files: true
# force_orphan: true
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
# commit_message: ${{ github.event.head_commit.message }}

View File

@@ -2,22 +2,21 @@ name: Update major tag
on:
release:
types: [published]
types: [released]
jobs:
update:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
timeout-minutes: 1
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v2.3.1
- name: Update major tag
if: github.event.release.prerelease == false
run: |
git config user.name "${GITHUB_ACTOR}"
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
git remote set-url origin "https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git"
export TAG_NAME="${GITHUB_REF##refs/tags/}"
export TAG_MAJOR="${TAG_NAME%%.*}"
git tag --force -a "${TAG_MAJOR}" -m "Release ${TAG_NAME}"
git push --force origin "${TAG_MAJOR}"
- name: Update major tag
run: |
git config user.name "${GITHUB_ACTOR}"
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
git remote set-url origin "https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git"
export TAG_NAME="${GITHUB_REF##refs/tags/}"
export TAG_MAJOR="${TAG_NAME%%.*}"
git tag --force -a "${TAG_MAJOR}" -m "Release ${TAG_NAME}"
git push --force origin "${TAG_MAJOR}"

1
.husky/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
_

2
.husky/post-merge Executable file
View File

@@ -0,0 +1,2 @@
npm install
git remote prune origin

1
.husky/pre-commit Executable file
View File

@@ -0,0 +1 @@
npx lint-staged

2
.nvmrc
View File

@@ -1 +1 @@
12.19.0
16.20.0

1
.vscode/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
*.log

View File

@@ -2,6 +2,287 @@
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
## [3.9.3](https://github.com/peaceiris/actions-gh-pages/compare/v3.9.2...v3.9.3) (2023-03-30)
### docs
* fix typo, bump hugo version (#851) ([884a022](https://github.com/peaceiris/actions-gh-pages/commit/884a0224fd48faeb3bde89519e9d612d0585a679)), closes [#851](https://github.com/peaceiris/actions-gh-pages/issues/851)
### fix
* fix error handling (#841) ([32e33dc](https://github.com/peaceiris/actions-gh-pages/commit/32e33dcd3ae1d0cf56ac5a88267de6cbf0359353)), closes [#841](https://github.com/peaceiris/actions-gh-pages/issues/841)
* update known_hosts (#871) ([31c15f0](https://github.com/peaceiris/actions-gh-pages/commit/31c15f03292ac100ae41a50fd3055e00d1b11a32)), closes [#871](https://github.com/peaceiris/actions-gh-pages/issues/871)
## [3.9.2](https://github.com/peaceiris/actions-gh-pages/compare/v3.9.1...v3.9.2) (2023-01-17)
### chore
* rename cicd ([32c9288](https://github.com/peaceiris/actions-gh-pages/commit/32c9288f553bbcbf66869cf553c82754431faf03))
* replace npm ci with install ([9839780](https://github.com/peaceiris/actions-gh-pages/commit/983978086a87d25a1ff678aa1ef4c2acc413784a))
### ci
* add github-actions npm ([5e5dc6d](https://github.com/peaceiris/actions-gh-pages/commit/5e5dc6d02eeb18001e0a7af6d6fcbabd4fd9e2b7))
* enable automerge ([dd7d778](https://github.com/peaceiris/actions-gh-pages/commit/dd7d77895818fd15ebecf20b6bf76028d377e1b6))
* remove dependabot ([7af79a8](https://github.com/peaceiris/actions-gh-pages/commit/7af79a873e9c2b6c37690db94012342fdb90914a))
* remove enabledManagers ([cba22ba](https://github.com/peaceiris/actions-gh-pages/commit/cba22ba760f1c7e62c9ae43167ea68ca9de56506))
* use peaceiris/workflows/setup-node 0.19.1 (#818) ([416f539](https://github.com/peaceiris/actions-gh-pages/commit/416f539fb4263ec46f9bbee251e87cfeae9f85ff)), closes [#818](https://github.com/peaceiris/actions-gh-pages/issues/818)
### deps
* apply npm audit fix (#809) ([e3aa46d](https://github.com/peaceiris/actions-gh-pages/commit/e3aa46d23bbf7f669a6d92c15dda089b2edf4959)), closes [#809](https://github.com/peaceiris/actions-gh-pages/issues/809)
## [3.9.1](https://github.com/peaceiris/actions-gh-pages/compare/v3.9.0...v3.9.1) (2023-01-05)
### chore
* change cicd label name ([1808965](https://github.com/peaceiris/actions-gh-pages/commit/180896524151a5634ff5815a72c59467fc27c874))
### ci
* add Renovate config (#802) ([072d16c](https://github.com/peaceiris/actions-gh-pages/commit/072d16c439270cd3a36c3e0977ccbe10f2b2bc55)), closes [#802](https://github.com/peaceiris/actions-gh-pages/issues/802)
* bump actions/dependency-review-action from 2 to 3 (#799) ([e3b45f2](https://github.com/peaceiris/actions-gh-pages/commit/e3b45f27007dc55bcdd52f01e38af6f61576ec7f)), closes [#799](https://github.com/peaceiris/actions-gh-pages/issues/799)
* bump peaceiris/actions-github-app-token from 1.1.4 to 1.1.5 (#798) ([a5f971f](https://github.com/peaceiris/actions-gh-pages/commit/a5f971f112fd50b6dd28469f23be2618b1ea87e7)), closes [#798](https://github.com/peaceiris/actions-gh-pages/issues/798)
* bump peaceiris/actions-mdbook from 1.1.14 to 1.2.0 (#793) ([9af6a68](https://github.com/peaceiris/actions-gh-pages/commit/9af6a68dde7720af8fd55364c2c637ca5922a879)), closes [#793](https://github.com/peaceiris/actions-gh-pages/issues/793)
* bump peaceiris/workflows from 0.17.1 to 0.17.2 (#794) ([087a759](https://github.com/peaceiris/actions-gh-pages/commit/087a759f907a127fdee23c8994321ff96f7d9430)), closes [#794](https://github.com/peaceiris/actions-gh-pages/issues/794)
* bump peaceiris/workflows from 0.17.2 to 0.18.1 (#806) ([f94667a](https://github.com/peaceiris/actions-gh-pages/commit/f94667a25cd2716a8a046111457e4b17c8c28407)), closes [#806](https://github.com/peaceiris/actions-gh-pages/issues/806)
### deps
* bump @actions/github from 5.0.1 to 5.1.1 (#785) ([679dbf0](https://github.com/peaceiris/actions-gh-pages/commit/679dbf02f69022f8c402975fdefe41ddb31516cd)), closes [#785](https://github.com/peaceiris/actions-gh-pages/issues/785)
* bump @actions/glob from 0.2.1 to 0.3.0 (#735) ([25b12e2](https://github.com/peaceiris/actions-gh-pages/commit/25b12e2a24490dbc96aa0d5201e94b1b4cca7fb0)), closes [#735](https://github.com/peaceiris/actions-gh-pages/issues/735)
* bump minimatch from 3.0.4 to 3.1.2 (#807) ([2f463a5](https://github.com/peaceiris/actions-gh-pages/commit/2f463a5ad59a66a5a83e0f072f6d556898e6cc9e)), closes [#807](https://github.com/peaceiris/actions-gh-pages/issues/807)
### docs
* replace deprecated set-output (#800) ([7166f2c](https://github.com/peaceiris/actions-gh-pages/commit/7166f2caa423717780ff24040f0163cbe511c18c)), closes [#800](https://github.com/peaceiris/actions-gh-pages/issues/800)
# [3.9.0](https://github.com/peaceiris/actions-gh-pages/compare/v3.8.0...v3.9.0) (2022-10-23)
### chore
* add duplicate ([402af2b](https://github.com/peaceiris/actions-gh-pages/commit/402af2bd613bf17a0f737722b22787423732ebb8))
* Convert templates to YAML issue forms ([ecd92e3](https://github.com/peaceiris/actions-gh-pages/commit/ecd92e3bae20b0f2c3ea11ce7b30b25840eabd4e))
* Disable Bug Report ([55635e9](https://github.com/peaceiris/actions-gh-pages/commit/55635e91933d51b0d6c3a575897a7b5a3704f386))
* Fix prettier (#633) ([fde6b18](https://github.com/peaceiris/actions-gh-pages/commit/fde6b1864d7ae561229e5dc3e55ef29322b35c48)), closes [#633](https://github.com/peaceiris/actions-gh-pages/issues/633)
* fix title ([b5022f9](https://github.com/peaceiris/actions-gh-pages/commit/b5022f987516e69c177b0b457fb5514ea10d2a67))
* Fix workflow name ([e91a189](https://github.com/peaceiris/actions-gh-pages/commit/e91a189d4cb8222e581d2871ef437880f2333b9b))
* fix year ([f2ac8b6](https://github.com/peaceiris/actions-gh-pages/commit/f2ac8b62c4b599b6654590f0b7a1161703fc91b4))
* improve Check list ([6a30129](https://github.com/peaceiris/actions-gh-pages/commit/6a30129b5b88d0a390c34ed3629d6cf573bbbb1f))
* Improve checklist ([69f1241](https://github.com/peaceiris/actions-gh-pages/commit/69f124149567d87a17c55cae5abe231ce44ce07e))
* Set required to false ([d7ab6de](https://github.com/peaceiris/actions-gh-pages/commit/d7ab6dea490c8d393a652c34d5f44e2d0708914d))
* Set required to false ([e8cba38](https://github.com/peaceiris/actions-gh-pages/commit/e8cba386c2fbcf55a8eeca1302315b6b41bb7fe9))
* update year from 2020 to 2022 ([f1f4f15](https://github.com/peaceiris/actions-gh-pages/commit/f1f4f153975a491040d838fda56646f9edafc879))
### ci
* add actions/dependency-review-action ([3cc0a55](https://github.com/peaceiris/actions-gh-pages/commit/3cc0a55ff58aefa21874876c91f4f2ffb6103453))
* Add concurrency ([edb4f3e](https://github.com/peaceiris/actions-gh-pages/commit/edb4f3effe03cbd1386d11970f751c732c9a26c3))
* bump actions/checkout from 2 to 2.3.4 (#610) ([3102151](https://github.com/peaceiris/actions-gh-pages/commit/3102151215f6d7a76df4018f0af0a9699ed3f336)), closes [#610](https://github.com/peaceiris/actions-gh-pages/issues/610)
* bump actions/checkout from 2.3.4 to 2.3.5 (#664) ([b19f8b8](https://github.com/peaceiris/actions-gh-pages/commit/b19f8b8110dcb0217ae6e766038e0866e939324a)), closes [#664](https://github.com/peaceiris/actions-gh-pages/issues/664)
* bump actions/checkout from 2.3.5 to 2.4.0 (#668) ([d3d121d](https://github.com/peaceiris/actions-gh-pages/commit/d3d121d59436b77f95d88db13058d9752f43bc92)), closes [#668](https://github.com/peaceiris/actions-gh-pages/issues/668)
* bump actions/checkout from 2.4.0 to 3 (#715) ([c921422](https://github.com/peaceiris/actions-gh-pages/commit/c921422e3791023a8dd39566a129863ff42e8c39)), closes [#715](https://github.com/peaceiris/actions-gh-pages/issues/715)
* bump actions/dependency-review-action from 1 to 2 (#762) ([1304921](https://github.com/peaceiris/actions-gh-pages/commit/1304921c60d95a91f76f5fea0ce500280f4a6702)), closes [#762](https://github.com/peaceiris/actions-gh-pages/issues/762)
* bump actions/labeler from 3 to 4 (#716) ([7954f3d](https://github.com/peaceiris/actions-gh-pages/commit/7954f3d89e7814f3c77e0a9707d8de64fa600d5a)), closes [#716](https://github.com/peaceiris/actions-gh-pages/issues/716)
* bump actions/setup-node from 2.1.5 to 2.2.0 (#626) ([3edcc53](https://github.com/peaceiris/actions-gh-pages/commit/3edcc53d62040dee889598eda219c09c8062ef79)), closes [#626](https://github.com/peaceiris/actions-gh-pages/issues/626)
* bump actions/setup-node from 2.2.0 to 2.3.0 (#632) ([69191bf](https://github.com/peaceiris/actions-gh-pages/commit/69191bfb1c07687489d4ff7f67a14fb86f84fd2f)), closes [#632](https://github.com/peaceiris/actions-gh-pages/issues/632)
* bump actions/setup-node from 2.3.0 to 2.3.1 (#636) ([d5e7428](https://github.com/peaceiris/actions-gh-pages/commit/d5e742835946ed1f76c9c8b90c85cac1b034aca0)), closes [#636](https://github.com/peaceiris/actions-gh-pages/issues/636)
* bump actions/setup-node from 2.3.1 to 2.3.2 (#637) ([4a55c45](https://github.com/peaceiris/actions-gh-pages/commit/4a55c4533bc63bcf8bc0388e5b77b55dace1c4df)), closes [#637](https://github.com/peaceiris/actions-gh-pages/issues/637)
* bump actions/setup-node from 2.3.2 to 2.4.0 (#639) ([288fd14](https://github.com/peaceiris/actions-gh-pages/commit/288fd146896a5e9bca7819627bfca4858c4f61e7)), closes [#639](https://github.com/peaceiris/actions-gh-pages/issues/639)
* bump actions/setup-node from 2.4.0 to 2.4.1 (#656) ([52f1a50](https://github.com/peaceiris/actions-gh-pages/commit/52f1a5023a0458aead16313edf670ba9bbf9a543)), closes [#656](https://github.com/peaceiris/actions-gh-pages/issues/656)
* bump actions/setup-node from 2.4.1 to 2.5.0 (#673) ([88eb3e4](https://github.com/peaceiris/actions-gh-pages/commit/88eb3e4384e4b20352f7a2e9261af42478cbc4f1)), closes [#673](https://github.com/peaceiris/actions-gh-pages/issues/673)
* bump actions/setup-node from 2.5.0 to 2.5.1 (#689) ([127e2d7](https://github.com/peaceiris/actions-gh-pages/commit/127e2d7a36a613d271c3724758462936d9ed28f1)), closes [#689](https://github.com/peaceiris/actions-gh-pages/issues/689)
* bump actions/setup-node from 2.5.1 to 3 (#713) ([c188bee](https://github.com/peaceiris/actions-gh-pages/commit/c188bee6f9a10aa5cdd8f736310d7184685b7294)), closes [#713](https://github.com/peaceiris/actions-gh-pages/issues/713)
* bump actions/upload-artifact from 2 to 3 (#732) ([fb2c292](https://github.com/peaceiris/actions-gh-pages/commit/fb2c292cba55a2fbfcf55daec80ead70af7a5cab)), closes [#732](https://github.com/peaceiris/actions-gh-pages/issues/732)
* bump codecov/codecov-action from 1.5.0 to 1.5.2 (#622) ([3087a34](https://github.com/peaceiris/actions-gh-pages/commit/3087a3437ec05a3aa32755d702e39988df5f050c)), closes [#622](https://github.com/peaceiris/actions-gh-pages/issues/622)
* bump codecov/codecov-action from 1.5.2 to 2.0.1 (#631) ([90e01d5](https://github.com/peaceiris/actions-gh-pages/commit/90e01d5ddd49e6acc3c5dbbc8fc5ca44d5e94c18)), closes [#631](https://github.com/peaceiris/actions-gh-pages/issues/631)
* bump codecov/codecov-action from 2.0.1 to 2.0.2 (#634) ([d4b79ae](https://github.com/peaceiris/actions-gh-pages/commit/d4b79aef1f0c91d1f3ff0d56f9381f0a641250bd)), closes [#634](https://github.com/peaceiris/actions-gh-pages/issues/634)
* bump codecov/codecov-action from 2.0.2 to 2.0.3 (#646) ([e363e57](https://github.com/peaceiris/actions-gh-pages/commit/e363e5795952b51cd27dbe2d68db69292fd55fc6)), closes [#646](https://github.com/peaceiris/actions-gh-pages/issues/646)
* bump codecov/codecov-action from 2.0.3 to 2.1.0 (#655) ([40515c6](https://github.com/peaceiris/actions-gh-pages/commit/40515c605bdba1b1c5abd35066424bb2b4cfd846)), closes [#655](https://github.com/peaceiris/actions-gh-pages/issues/655)
* bump codecov/codecov-action from 2.1.0 to 3 (#729) ([1226087](https://github.com/peaceiris/actions-gh-pages/commit/12260875478175738e8a4e11917dcb2849b3ff23)), closes [#729](https://github.com/peaceiris/actions-gh-pages/issues/729)
* bump codecov/codecov-action from v1.3.1 to v1.3.2 (#594) ([1d0fa1a](https://github.com/peaceiris/actions-gh-pages/commit/1d0fa1a6443b47197e1446b8282191253a196530)), closes [#594](https://github.com/peaceiris/actions-gh-pages/issues/594)
* bump codecov/codecov-action from v1.3.2 to v1.4.0 (#602) ([b4ccfe8](https://github.com/peaceiris/actions-gh-pages/commit/b4ccfe80a698a88dbbef5d3d8a6dcc4adc422f18)), closes [#602](https://github.com/peaceiris/actions-gh-pages/issues/602)
* bump codecov/codecov-action from v1.4.0 to v1.4.1 (#604) ([e2a2646](https://github.com/peaceiris/actions-gh-pages/commit/e2a264646bcff750b77fc6689694f32cae152aa2)), closes [#604](https://github.com/peaceiris/actions-gh-pages/issues/604)
* bump codecov/codecov-action from v1.4.1 to v1.5.0 (#607) ([a22219e](https://github.com/peaceiris/actions-gh-pages/commit/a22219e8e4d436ca0c8fc5a596ef4fdb7f97558a)), closes [#607](https://github.com/peaceiris/actions-gh-pages/issues/607)
* bump github/codeql-action from 1 to 2 (#739) ([cf3948a](https://github.com/peaceiris/actions-gh-pages/commit/cf3948a236ac5ad9e3f5df020549e65351a99405)), closes [#739](https://github.com/peaceiris/actions-gh-pages/issues/739)
* bump peaceiris/workflows from 0.10.0 to 0.11.0 (#659) ([40737e1](https://github.com/peaceiris/actions-gh-pages/commit/40737e192d8ba20d11cb5e49ef4927a6bc67afd7)), closes [#659](https://github.com/peaceiris/actions-gh-pages/issues/659)
* bump peaceiris/workflows from 0.11.0 to 0.12.0 (#733) ([8a7e1fb](https://github.com/peaceiris/actions-gh-pages/commit/8a7e1fb6f4e3a35650f6e4d1d6b6e4229c790c4e)), closes [#733](https://github.com/peaceiris/actions-gh-pages/issues/733)
* bump peaceiris/workflows from 0.12.0 to 0.13.0 (#734) ([d4f052f](https://github.com/peaceiris/actions-gh-pages/commit/d4f052f1e85947a8cd4ac8833732054ff679e836)), closes [#734](https://github.com/peaceiris/actions-gh-pages/issues/734)
* bump peaceiris/workflows from 0.13.0 to 0.14.1 (#737) ([a762c3e](https://github.com/peaceiris/actions-gh-pages/commit/a762c3ec5466ae6e139e8043c62e09821ae2a3b6)), closes [#737](https://github.com/peaceiris/actions-gh-pages/issues/737)
* bump peaceiris/workflows from 0.14.1 to 0.15.0 (#751) ([da39891](https://github.com/peaceiris/actions-gh-pages/commit/da398914f7ffa06319c73b35e7d0e60283e1786f)), closes [#751](https://github.com/peaceiris/actions-gh-pages/issues/751)
* bump peaceiris/workflows from 0.15.0 to 0.16.0 (#766) ([05d272d](https://github.com/peaceiris/actions-gh-pages/commit/05d272de6c06158771c3e91ba690aaaabc0c416f)), closes [#766](https://github.com/peaceiris/actions-gh-pages/issues/766)
* bump peaceiris/workflows from 0.16.0 to 0.17.1 (#789) ([2c04d6b](https://github.com/peaceiris/actions-gh-pages/commit/2c04d6b59558dd2c0d7336b3a26ab87eb56cad7b)), closes [#789](https://github.com/peaceiris/actions-gh-pages/issues/789)
* bump peaceiris/workflows from 0.8.1 to 0.10.0 (#648) ([d936c20](https://github.com/peaceiris/actions-gh-pages/commit/d936c202377d434c7b787da447a5a043b6da5735)), closes [#648](https://github.com/peaceiris/actions-gh-pages/issues/648)
* Change trigger from published to released ([8f8bc46](https://github.com/peaceiris/actions-gh-pages/commit/8f8bc4611ef68a977630fc082434ff8f70fdb0b8))
* Drop ubuntu-16.04 (#606) ([b8eb1ae](https://github.com/peaceiris/actions-gh-pages/commit/b8eb1aeda400e0971c07694c7b453878ceb0ade9)), closes [#606](https://github.com/peaceiris/actions-gh-pages/issues/606)
* drop ubuntu-18.04, add 22.04, latest (#776) ([2eea5d7](https://github.com/peaceiris/actions-gh-pages/commit/2eea5d7a12ebcecf9d96a638de7649164fafddeb)), closes [#776](https://github.com/peaceiris/actions-gh-pages/issues/776)
* Improve step filters (#629) ([063f7de](https://github.com/peaceiris/actions-gh-pages/commit/063f7de6c4a7b149041a1d6a125a4827088fec76)), closes [#629](https://github.com/peaceiris/actions-gh-pages/issues/629)
* Install actions-label-commenter" ([c618621](https://github.com/peaceiris/actions-gh-pages/commit/c618621f202f2c120cbe3c57dd88742d723d317a))
* update contact_links ([183add1](https://github.com/peaceiris/actions-gh-pages/commit/183add1cc50764f1b3e36a73b14aa5b872fb55c4))
* use actions-github-app-token ([2bef62f](https://github.com/peaceiris/actions-gh-pages/commit/2bef62f8180c000cd3b5bf97e30f4cdde119adfb))
### deps
* bump @actions/core from 1.2.6 to 1.2.7 (#600) ([2d4d4fc](https://github.com/peaceiris/actions-gh-pages/commit/2d4d4fccc0e5d896442917c9849e18d9f20fa281)), closes [#600](https://github.com/peaceiris/actions-gh-pages/issues/600)
* bump @actions/core from 1.2.7 to 1.5.0 (#645) ([eb802f3](https://github.com/peaceiris/actions-gh-pages/commit/eb802f35cef88815ea66bf8a1d814c17b76a4f9b)), closes [#645](https://github.com/peaceiris/actions-gh-pages/issues/645)
* bump @actions/core from 1.5.0 to 1.6.0 (#657) ([150e20f](https://github.com/peaceiris/actions-gh-pages/commit/150e20f82d11c22282e9f1e2a5cc359d2f82dbf8)), closes [#657](https://github.com/peaceiris/actions-gh-pages/issues/657)
* bump @actions/exec from 1.0.4 to 1.1.0 (#618) ([4af0044](https://github.com/peaceiris/actions-gh-pages/commit/4af0044e5e4653b89affac033e933686da069ba4)), closes [#618](https://github.com/peaceiris/actions-gh-pages/issues/618)
* bump @actions/exec from 1.1.0 to 1.1.1 (#720) ([2fa2322](https://github.com/peaceiris/actions-gh-pages/commit/2fa23228a53288d3f0ca14e75fc96b8a57c69cd7)), closes [#720](https://github.com/peaceiris/actions-gh-pages/issues/720)
* bump @actions/github from 4.0.0 to 5.0.0 (#612) ([f29aeb9](https://github.com/peaceiris/actions-gh-pages/commit/f29aeb91b3a56926b6d8446b979dd7efd18469e3)), closes [#612](https://github.com/peaceiris/actions-gh-pages/issues/612)
* bump @actions/github from 5.0.0 to 5.0.1 (#728) ([46202b8](https://github.com/peaceiris/actions-gh-pages/commit/46202b81182827d66f204f83b88dbcca631ee7a7)), closes [#728](https://github.com/peaceiris/actions-gh-pages/issues/728)
* bump @actions/glob from 0.1.1 to 0.2.0 (#620) ([f34f14a](https://github.com/peaceiris/actions-gh-pages/commit/f34f14adb0e1a50b3983571105e6ac38f0d30e88)), closes [#620](https://github.com/peaceiris/actions-gh-pages/issues/620)
* bump @actions/glob from 0.2.0 to 0.2.1 (#721) ([c006717](https://github.com/peaceiris/actions-gh-pages/commit/c006717cf0bd938969390db21de9e6e3bcb288c0)), closes [#721](https://github.com/peaceiris/actions-gh-pages/issues/721)
* bump @actions/io from 1.0.2 to 1.1.0 (#593) ([95ad034](https://github.com/peaceiris/actions-gh-pages/commit/95ad0343aae5b0a6a544c821536c60debaede606)), closes [#593](https://github.com/peaceiris/actions-gh-pages/issues/593)
* bump @actions/io from 1.1.0 to 1.1.1 (#619) ([2c9f853](https://github.com/peaceiris/actions-gh-pages/commit/2c9f8534d24589a01ba8864bf6f00650b9bf6367)), closes [#619](https://github.com/peaceiris/actions-gh-pages/issues/619)
* bump @actions/io from 1.1.1 to 1.1.2 (#722) ([2b83a4b](https://github.com/peaceiris/actions-gh-pages/commit/2b83a4b24b0a7aee7d10ff3c5c86e441a0cd1909)), closes [#722](https://github.com/peaceiris/actions-gh-pages/issues/722)
* bump @types/shelljs from 0.8.8 to 0.8.9 (#654) ([7ea9100](https://github.com/peaceiris/actions-gh-pages/commit/7ea91005e5963e68314f681d72b17fde3e8a131a)), closes [#654](https://github.com/peaceiris/actions-gh-pages/issues/654)
* bump @types/shelljs from 0.8.9 to 0.8.11 (#693) ([2e09f80](https://github.com/peaceiris/actions-gh-pages/commit/2e09f809f83350b8a3d4f26dbb0e2e0721199225)), closes [#693](https://github.com/peaceiris/actions-gh-pages/issues/693)
* bump minimist from 1.2.5 to 1.2.6 (#726) ([4403b8b](https://github.com/peaceiris/actions-gh-pages/commit/4403b8b8f3d8f441c442ae9b93fe5fba9f5c1968)), closes [#726](https://github.com/peaceiris/actions-gh-pages/issues/726)
* Bump node from 12.21.0 to 12.22.0 (#592) ([2decf4e](https://github.com/peaceiris/actions-gh-pages/commit/2decf4e752abab9095efc5ace22a0e92ae2e6fec)), closes [#592](https://github.com/peaceiris/actions-gh-pages/issues/592)
* Bump node from 12.22.0 to 12.22.1 (#601) ([193a76d](https://github.com/peaceiris/actions-gh-pages/commit/193a76dc629a50d7a2f52eb4ae85500a8a1d641a)), closes [#601](https://github.com/peaceiris/actions-gh-pages/issues/601)
* bump node from 12.22.1 to 12.22.2 (#628) ([f321f46](https://github.com/peaceiris/actions-gh-pages/commit/f321f46f65cf03a32305f8edab39c422a083f089)), closes [#628](https://github.com/peaceiris/actions-gh-pages/issues/628)
* Bump node from 12.22.4 to 12.22.6 (#652) ([be584e1](https://github.com/peaceiris/actions-gh-pages/commit/be584e1ad2567ce506171434857bedb2a6c1183a)), closes [#652](https://github.com/peaceiris/actions-gh-pages/issues/652)
* bump shelljs from 0.8.4 to 0.8.5 (#692) ([892ca34](https://github.com/peaceiris/actions-gh-pages/commit/892ca34305f901f196fde386b4177b54c249bfd9)), closes [#692](https://github.com/peaceiris/actions-gh-pages/issues/692)
* node 12.22.4 ([9181540](https://github.com/peaceiris/actions-gh-pages/commit/918154021f5dbde7bba6c5accf8cea1a1ce5ece2))
### docs
* Add CNAME details for newbies ([3d71e70](https://github.com/peaceiris/actions-gh-pages/commit/3d71e70db9f003fea342bde483a7c4a1978804ac))
* Add concurrency ([7e7d7df](https://github.com/peaceiris/actions-gh-pages/commit/7e7d7dff413c6f698439a11a1e581badf4507604))
* add Custom GitHub Actions Workflows beta ([b4af807](https://github.com/peaceiris/actions-gh-pages/commit/b4af807921596bdad79592b406d0d743aae9e30e))
* Add GitHub documentation references to permissions (#754) ([ac45008](https://github.com/peaceiris/actions-gh-pages/commit/ac45008338dab8bf0c3efa91605acffc8565729c)), closes [#754](https://github.com/peaceiris/actions-gh-pages/issues/754)
* add note GitHub official Action ([765cf11](https://github.com/peaceiris/actions-gh-pages/commit/765cf1194eb2c30092c7ba39dec8ee0dba3565b9))
* add permissions contents write (#753) ([414c92c](https://github.com/peaceiris/actions-gh-pages/commit/414c92c5ff594b380dd8df46dffbb34e3dd2343f)), closes [#753](https://github.com/peaceiris/actions-gh-pages/issues/753)
* Add pull_request event ([b1a4f27](https://github.com/peaceiris/actions-gh-pages/commit/b1a4f2701cec741ce67e3f9fdaf22eeaa58725f0))
* add rustdoc hint (#764) ([97637bf](https://github.com/peaceiris/actions-gh-pages/commit/97637bffb09a6ef46a66b47207df5a18e3e7afc0)), closes [#764](https://github.com/peaceiris/actions-gh-pages/issues/764)
* bump hugo-version to 0.101.0 (#779) ([e1448a7](https://github.com/peaceiris/actions-gh-pages/commit/e1448a73ca97cd0b1a6f894340080366c5e8509a)), closes [#779](https://github.com/peaceiris/actions-gh-pages/issues/779)
* Bump node from 12 to 14 ([e831faa](https://github.com/peaceiris/actions-gh-pages/commit/e831faae0e7153297107fb95e60d98b2a819eb63))
* Enable GitHub native ToC ([35c9643](https://github.com/peaceiris/actions-gh-pages/commit/35c9643c9552c1974ba5c86b5e4591eb60c044e4))
* fix level of title heading ([0e59680](https://github.com/peaceiris/actions-gh-pages/commit/0e596805b1ea4181aa361304efd73a2ebe8ec0ac))
* Fix redirected links ([9856f8c](https://github.com/peaceiris/actions-gh-pages/commit/9856f8c8f8c271cb4e132cc172ec3870c6278733))
* Improve custom branch clarity (#761) ([da72d05](https://github.com/peaceiris/actions-gh-pages/commit/da72d057b991a0e351714b28bcd2608fbbd5c09e)), closes [#761](https://github.com/peaceiris/actions-gh-pages/issues/761)
* Improve title ([cdd482a](https://github.com/peaceiris/actions-gh-pages/commit/cdd482ae85fc1e250ec3d13bab58f92f3491e316))
* Improve usage of concurrency ([913377f](https://github.com/peaceiris/actions-gh-pages/commit/913377f0522aec60032df5ba927834804c2cdddf))
* Remove github/personal-website (#653) ([57d746c](https://github.com/peaceiris/actions-gh-pages/commit/57d746cd244c5fb4124fd2d456f3c3450b4240e1)), closes [#653](https://github.com/peaceiris/actions-gh-pages/issues/653)
* Uncomment GHES section ([9641296](https://github.com/peaceiris/actions-gh-pages/commit/9641296c3dbe7196c23d64a90cd7e6fba18247d1))
* update description of disable_nojekyll ([a43024e](https://github.com/peaceiris/actions-gh-pages/commit/a43024e6c04d9bd62101961dbf0b8f986512eb3b))
* Update enable_jekyll description (#661) ([834306b](https://github.com/peaceiris/actions-gh-pages/commit/834306ba279944a8bd2c22a6c19cb6a5efdf474c)), closes [#661](https://github.com/peaceiris/actions-gh-pages/issues/661) [#660](https://github.com/peaceiris/actions-gh-pages/issues/660)
* Update redirected links ([84ef946](https://github.com/peaceiris/actions-gh-pages/commit/84ef94646075cd5dcd26237cf4df2b7087195eaf))
* Use ubuntu-20.04 ([a99b730](https://github.com/peaceiris/actions-gh-pages/commit/a99b730d288bec72710ba0c4f16630083be912a7))
### feat
* bump node12 to node16 (#791) ([44a2b44](https://github.com/peaceiris/actions-gh-pages/commit/44a2b4403c2488c309307085bcdaab19fb8c7ea6)), closes [#791](https://github.com/peaceiris/actions-gh-pages/issues/791)
### fix
* Improve if syntax ([f7a748b](https://github.com/peaceiris/actions-gh-pages/commit/f7a748bfc91daeaf53c8be14d1a8a4fb9c67c417))
# [3.8.0](https://github.com/peaceiris/actions-gh-pages/compare/v3.7.3...v3.8.0) (2021-03-25)
### build
* fix dev docker image (#584) ([b52df3c](https://github.com/peaceiris/actions-gh-pages/commit/b52df3c817bc7c15dce1ce691645a5db4ae83af8)), closes [#584](https://github.com/peaceiris/actions-gh-pages/issues/584)
* Set target to ES2019 (#576) ([07f38c6](https://github.com/peaceiris/actions-gh-pages/commit/07f38c68fa7d285b500469c615e334df3b37a1e1)), closes [#576](https://github.com/peaceiris/actions-gh-pages/issues/576)
### chore
* Add link to create-release-npm ([3f0d4ce](https://github.com/peaceiris/actions-gh-pages/commit/3f0d4cea48cbc13116c89d5d0483abb4fc33f7d8))
* Add postinstall for husky install (#578) ([a0db9b6](https://github.com/peaceiris/actions-gh-pages/commit/a0db9b66be08f409f8263ee57ca1dd625d9f0b59)), closes [#578](https://github.com/peaceiris/actions-gh-pages/issues/578)
* bump doctoc from 1.4.0 to 2.0.0 ([727890a](https://github.com/peaceiris/actions-gh-pages/commit/727890a27e16b8a101a4635dd399e09b27d6ee2d))
* fix typo ([3dbd732](https://github.com/peaceiris/actions-gh-pages/commit/3dbd73271d56ca3ffbe3e284cb769e75be7b1a19))
* remove lib ([628161d](https://github.com/peaceiris/actions-gh-pages/commit/628161d570c8161d9c889968d60244e195cc4047))
* update link to github.community ([d04f65f](https://github.com/peaceiris/actions-gh-pages/commit/d04f65f98556d3d111f8d9817c16a74692d0c8de))
* update package-lock.json (#567) ([77ce5ec](https://github.com/peaceiris/actions-gh-pages/commit/77ce5ecb497f3828448080745e9500ea19585a9f)), closes [#567](https://github.com/peaceiris/actions-gh-pages/issues/567)
* update redirected links ([6004cfe](https://github.com/peaceiris/actions-gh-pages/commit/6004cfef02c3b3c6a114f6a25f350e72820cb3e1))
### ci
* Add --unsafe-perm=true --allow-root (#573) ([99df4b0](https://github.com/peaceiris/actions-gh-pages/commit/99df4b07a7197d291b0bcebf96a41a5df0190614)), closes [#573](https://github.com/peaceiris/actions-gh-pages/issues/573)
* add actions/labeler ([33f5d6c](https://github.com/peaceiris/actions-gh-pages/commit/33f5d6c1bf12e6776be660dc0fa9e4b02a33eb6d))
* add labeler.yml ([eaab2e3](https://github.com/peaceiris/actions-gh-pages/commit/eaab2e340497a62727a36dc7b789f91425047428))
* bump actions/setup-node from v2.1.2 to v2.1.3 (#546) ([44a3899](https://github.com/peaceiris/actions-gh-pages/commit/44a3899927ca2db2c174ce4782d207e0357fb248)), closes [#546](https://github.com/peaceiris/actions-gh-pages/issues/546)
* bump actions/setup-node from v2.1.3 to v2.1.4 (#549) ([7d34515](https://github.com/peaceiris/actions-gh-pages/commit/7d345152fb93257d6c54cadbda951fd1399174ca)), closes [#549](https://github.com/peaceiris/actions-gh-pages/issues/549)
* bump actions/setup-node from v2.1.4 to v2.1.5 (#574) ([94fb28f](https://github.com/peaceiris/actions-gh-pages/commit/94fb28f81cbbf860489718a0e8697a581b05313a)), closes [#574](https://github.com/peaceiris/actions-gh-pages/issues/574)
* bump codecov/codecov-action from v1.0.14 to v1.0.15 (#535) ([aedef9f](https://github.com/peaceiris/actions-gh-pages/commit/aedef9f283887800d5ff818e5cf61c08a5f53f55)), closes [#535](https://github.com/peaceiris/actions-gh-pages/issues/535)
* bump codecov/codecov-action from v1.0.15 to v1.1.0 (#550) ([f06a7f8](https://github.com/peaceiris/actions-gh-pages/commit/f06a7f879532e85e480c7f07951868a0a556ffeb)), closes [#550](https://github.com/peaceiris/actions-gh-pages/issues/550)
* bump codecov/codecov-action from v1.1.0 to v1.1.1 (#553) ([77a99cb](https://github.com/peaceiris/actions-gh-pages/commit/77a99cbdfe41dd761083d67b85365cf4ed3b55f6)), closes [#553](https://github.com/peaceiris/actions-gh-pages/issues/553)
* bump codecov/codecov-action from v1.1.1 to v1.2.0 (#557) ([1fd941c](https://github.com/peaceiris/actions-gh-pages/commit/1fd941c40ad4ec5733c654b496aebcdaa7742267)), closes [#557](https://github.com/peaceiris/actions-gh-pages/issues/557)
* bump codecov/codecov-action from v1.2.0 to v1.2.1 (#559) ([071f8cb](https://github.com/peaceiris/actions-gh-pages/commit/071f8cbc5a4da10f4770cf6a9a4d6b725a8041f7)), closes [#559](https://github.com/peaceiris/actions-gh-pages/issues/559)
* bump codecov/codecov-action from v1.2.1 to v1.2.2 (#583) ([65a821e](https://github.com/peaceiris/actions-gh-pages/commit/65a821ebc77147931cd063e47a69e6e62d38488c)), closes [#583](https://github.com/peaceiris/actions-gh-pages/issues/583)
* bump codecov/codecov-action from v1.2.2 to v1.3.1 (#585) ([e4724d9](https://github.com/peaceiris/actions-gh-pages/commit/e4724d9526ddfb09b07b596f47dda5cee7b3f14b)), closes [#585](https://github.com/peaceiris/actions-gh-pages/issues/585)
* bump peaceiris/actions-mdbook from v1.1.13 to v1.1.14 (#561) ([87b7480](https://github.com/peaceiris/actions-gh-pages/commit/87b7480404bf3cbb23668d8a536371c585e0d5bb)), closes [#561](https://github.com/peaceiris/actions-gh-pages/issues/561)
* bump peaceiris/workflows from v0.7.0 to v0.8.1 (#555) ([852bfb8](https://github.com/peaceiris/actions-gh-pages/commit/852bfb8e83b69c069a13f9bb310bb408886ad987)), closes [#555](https://github.com/peaceiris/actions-gh-pages/issues/555)
* Exclude writing actions on forks (#562) ([fcead0e](https://github.com/peaceiris/actions-gh-pages/commit/fcead0e0305a6c3a2d11912f3f0d4e9ef774e864)), closes [#562](https://github.com/peaceiris/actions-gh-pages/issues/562)
* Fix husky post-merge ([d3a97d5](https://github.com/peaceiris/actions-gh-pages/commit/d3a97d53a80c403efae6ac6f0016b0ce79e5543b))
* Migrate husky from v4 to v5 ([47a5b8c](https://github.com/peaceiris/actions-gh-pages/commit/47a5b8c83418c019949fa830ef42017018ae45cf))
* pin actions/checkout to v2 (#541) ([6c2db6e](https://github.com/peaceiris/actions-gh-pages/commit/6c2db6e184b7e053588817c974faa0423efaabb9)), closes [#541](https://github.com/peaceiris/actions-gh-pages/issues/541)
* remove CODECOV_TOKEN (#552) ([584ffda](https://github.com/peaceiris/actions-gh-pages/commit/584ffda459b76cf021356be7ebc0a9528fa079ee)), closes [#552](https://github.com/peaceiris/actions-gh-pages/issues/552)
* Remove husky and lint-staged (#572) ([0ed12e5](https://github.com/peaceiris/actions-gh-pages/commit/0ed12e5298a0c736a5f61db86b2f3fe58029d72d)), closes [#572](https://github.com/peaceiris/actions-gh-pages/issues/572)
* remove options no longer needed (#540) ([3ba244e](https://github.com/peaceiris/actions-gh-pages/commit/3ba244e8d490e4d764c2bff8638b70ed6b690bcc)), closes [#540](https://github.com/peaceiris/actions-gh-pages/issues/540)
* Remove skipci job ([03d2532](https://github.com/peaceiris/actions-gh-pages/commit/03d253207fbb920872c319b2a7a3f44851a4616d))
### deps
* bump @actions/glob from 0.1.0 to 0.1.1 (#534) ([2fa771f](https://github.com/peaceiris/actions-gh-pages/commit/2fa771f89e334f57b02c1320bd5b79b7f1b95654)), closes [#534](https://github.com/peaceiris/actions-gh-pages/issues/534)
* bump ini from 1.3.5 to 1.3.8 (#547) ([75c0bf7](https://github.com/peaceiris/actions-gh-pages/commit/75c0bf7407fe3e12bfb592668c697364eb275420)), closes [#547](https://github.com/peaceiris/actions-gh-pages/issues/547)
* bump node from 12.19.0 to 12.19.1 (#538) ([8cc3a89](https://github.com/peaceiris/actions-gh-pages/commit/8cc3a89d3b22f6f8b0cde1786aa3f482fac140a5)), closes [#538](https://github.com/peaceiris/actions-gh-pages/issues/538)
* bump node from 12.19.1 to 12.20.0 (#543) ([4adbf1c](https://github.com/peaceiris/actions-gh-pages/commit/4adbf1cc05ecb0467bee54c608acdf765dfb7dc6)), closes [#543](https://github.com/peaceiris/actions-gh-pages/issues/543)
* bump node from 12.20.0 to 12.20.1 (#560) ([3baf850](https://github.com/peaceiris/actions-gh-pages/commit/3baf8509207c681b15ebd4ae9de17052cca8181f)), closes [#560](https://github.com/peaceiris/actions-gh-pages/issues/560)
* bump node from 12.20.1 to 12.21.0 (#582) ([ebe0272](https://github.com/peaceiris/actions-gh-pages/commit/ebe02723dc0bdfe52f8903275f292a6ff13fa2e1)), closes [#582](https://github.com/peaceiris/actions-gh-pages/issues/582)
* bump node-notifier from 8.0.0 to 8.0.1 (#554) ([facb2e7](https://github.com/peaceiris/actions-gh-pages/commit/facb2e72727aff9c23812a9ab3e8cc3a871e5a4b)), closes [#554](https://github.com/peaceiris/actions-gh-pages/issues/554)
* Bump npm to v7 (#564) ([1d14b37](https://github.com/peaceiris/actions-gh-pages/commit/1d14b37db24086561560c31ec17fa4348512c01f)), closes [#564](https://github.com/peaceiris/actions-gh-pages/issues/564)
* update dev deps (#529) ([4c8cffc](https://github.com/peaceiris/actions-gh-pages/commit/4c8cffc919935c69a40648ca19e65bd69f4d5eb3)), closes [#529](https://github.com/peaceiris/actions-gh-pages/issues/529)
* update devDependencies (#533) ([f0573f9](https://github.com/peaceiris/actions-gh-pages/commit/f0573f94d8d29a7a28125c3c63c717fca629b682)), closes [#533](https://github.com/peaceiris/actions-gh-pages/issues/533)
* update devDependencies (#551) ([b427ba5](https://github.com/peaceiris/actions-gh-pages/commit/b427ba5d48d0c90dda34d4d03527f948e63102c9)), closes [#551](https://github.com/peaceiris/actions-gh-pages/issues/551)
* update devDependencies (#558) ([4b77300](https://github.com/peaceiris/actions-gh-pages/commit/4b77300e3cea6b38498b3b046eacc33208b19cac)), closes [#558](https://github.com/peaceiris/actions-gh-pages/issues/558)
* update devDependencies (#563) ([9b425f8](https://github.com/peaceiris/actions-gh-pages/commit/9b425f80dfe6e4a1490c82271c8006b79e0a5293)), closes [#563](https://github.com/peaceiris/actions-gh-pages/issues/563)
* update devDependencies (#577) ([0a4c122](https://github.com/peaceiris/actions-gh-pages/commit/0a4c122ea4dcd7422a1b27c5ff29ab4c1727535c)), closes [#577](https://github.com/peaceiris/actions-gh-pages/issues/577)
### docs
* bump actions/setup-node ([1054f6a](https://github.com/peaceiris/actions-gh-pages/commit/1054f6a6b93e6a22a2875ca4e7715d4d4987891c)), closes [#542](https://github.com/peaceiris/actions-gh-pages/issues/542)
* bump mdbook from 0.3.7 to 0.4.5 (#556) ([5b8ea1e](https://github.com/peaceiris/actions-gh-pages/commit/5b8ea1e7ee33ff43e6da01d00f5b6164bc003299)), closes [#556](https://github.com/peaceiris/actions-gh-pages/issues/556)
* comment out GHES section ([bf41193](https://github.com/peaceiris/actions-gh-pages/commit/bf41193762776d1ed23fe1a51afd518620ddba01))
* Improve description of destination_dir and keep_files (#569) ([e27e41d](https://github.com/peaceiris/actions-gh-pages/commit/e27e41d7cec17eaa1f5c90fb35857722f80a05c9)), closes [#569](https://github.com/peaceiris/actions-gh-pages/issues/569) [/github.com/peaceiris/actions-gh-pages/issues/324#issuecomment-779218091](https://github.com//github.com/peaceiris/actions-gh-pages/issues/324/issues/issuecomment-779218091)
* notes of GITHUB_TOKEN for newbies ([fe996f5](https://github.com/peaceiris/actions-gh-pages/commit/fe996f57a551f9a0e979f8310f96384cdee71ce2))
### feat
* Add GHES support 🏢 (#580) ([3623583](https://github.com/peaceiris/actions-gh-pages/commit/3623583f73a5cfb5ca3632d6234b9564fed73239)), closes [#580](https://github.com/peaceiris/actions-gh-pages/issues/580) [#579](https://github.com/peaceiris/actions-gh-pages/issues/579)
## [3.7.3](https://github.com/peaceiris/actions-gh-pages/compare/v3.7.2...v3.7.3) (2020-10-20)
### ci
* bump codecov/codecov-action from v1.0.13 to v1.0.14 (#526) ([c4241b2](https://github.com/peaceiris/actions-gh-pages/commit/c4241b26fb90917901c95fabafc9907f71f44508)), closes [#526](https://github.com/peaceiris/actions-gh-pages/issues/526)
### docs
* Add link to create-react-app (#525) ([cf805b9](https://github.com/peaceiris/actions-gh-pages/commit/cf805b9457df587d349ee1684a4801cf9bbaac7d)), closes [#525](https://github.com/peaceiris/actions-gh-pages/issues/525)
### fix
* copyAssets and deleteExcludedAssets (#528) ([e93eed3](https://github.com/peaceiris/actions-gh-pages/commit/e93eed3ba7edf10f461bc4a7bd14cd2a12f44935)), closes [#528](https://github.com/peaceiris/actions-gh-pages/issues/528)
## [3.7.2](https://github.com/peaceiris/actions-gh-pages/compare/v3.7.1...v3.7.2) (2020-10-15)

View File

@@ -1,55 +0,0 @@
FROM ubuntu:18.04
SHELL ["/bin/bash", "-l", "-c"]
RUN apt-get update && \
apt-get install -y --no-install-recommends software-properties-common gnupg && \
add-apt-repository ppa:git-core/ppa && \
apt-get update && \
apt-get install -y --no-install-recommends \
git \
curl \
wget \
ssh \
vim && \
apt-get autoclean && \
apt-get clean && \
apt-get autoremove -y && \
rm -rf /var/lib/apt/lists/*
WORKDIR /node
ARG NODE_VERSION
RUN curl -o nodejs.deb "https://deb.nodesource.com/node_${NODE_VERSION%%.*}.x/pool/main/n/nodejs/nodejs_${NODE_VERSION}-1nodesource1_amd64.deb" && \
apt-get update && \
apt-get install -y --no-install-recommends ./nodejs.deb && \
npm i -g npm && \
curl -sL https://deb.nodesource.com/test | bash - && \
rm -rf /var/lib/apt/lists/* && \
rm -rf /node
WORKDIR /repo
ENV DEBIAN_FRONTEND="noninteractive"
ENV LANG="C.UTF-8"
ENV CI="true"
ENV ImageVersion="20200717.1"
ENV GITHUB_SERVER_URL="https://github.com"
ENV GITHUB_API_URL="https://api.github.com"
ENV GITHUB_GRAPHQL_URL="https://api.github.com/graphql"
ENV GITHUB_REPOSITORY_OWNER="peaceiris"
ENV GITHUB_ACTIONS="true"
ENV GITHUB_ACTOR="peaceiris"
ENV GITHUB_REPOSITORY="actions/pages"
ENV RUNNER_OS="Linux"
ENV RUNNER_TOOL_CACHE="/opt/hostedtoolcache"
ENV RUNNER_USER="runner"
ENV RUNNER_TEMP="/home/runner/work/_temp"
ENV RUNNER_WORKSPACE="/home/runner/work/pages"
RUN echo "node version: $(node -v)" && \
echo "npm version: $(npm -v)" && \
git --version && \
git config --global init.defaultBranch main && \
git config --global init.defaultBranch
CMD [ "bash" ]

View File

@@ -1,6 +1,6 @@
MIT License
Copyright (c) 2020 Shohei Ueda (peaceiris)
Copyright (c) 2019 Shohei Ueda (peaceiris)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View File

@@ -1,22 +0,0 @@
IMAGE_NAME := docker.pkg.github.com/peaceiris/actions-gh-pages/dev:latest
NODE_VERSION := $(shell cat ./.nvmrc)
.PHONY: build
build:
docker-compose build --build-arg NODE_VERSION=$(NODE_VERSION)
.PHONY: run
run:
docker-compose run --rm dev bash
.PHONY: ci
ci:
docker-compose run --rm -T dev npm ci
.PHONY: test
test:
docker-compose run --rm -T dev npm test
.PHONY: all
all:
docker-compose run --rm -T dev npm run all

353
README.md
View File

@@ -1,6 +1,9 @@
## GitHub Actions for GitHub Pages
<h2 align="center">
GitHub Pages Action
</h2>
<img width="400" alt="GitHub Actions for deploying to GitHub Pages with Static Site Generators" src="./images/ogp.svg">
<div align="center">
<img width="400" alt="GitHub Actions for deploying to GitHub Pages with Static Site Generators" src="./images/ogp.svg">
[![license](https://img.shields.io/github/license/peaceiris/actions-gh-pages.svg)](https://github.com/peaceiris/actions-gh-pages/blob/main/LICENSE)
[![release](https://img.shields.io/github/release/peaceiris/actions-gh-pages.svg)](https://github.com/peaceiris/actions-gh-pages/releases/latest)
@@ -9,10 +12,19 @@
![Code Scanning](https://github.com/peaceiris/actions-gh-pages/workflows/Code%20Scanning/badge.svg?event=push)
[![CodeFactor](https://www.codefactor.io/repository/github/peaceiris/actions-gh-pages/badge)](https://www.codefactor.io/repository/github/peaceiris/actions-gh-pages)
</div>
> **Note**
>
> See also the GitHub official GitHub Pages Action first.
>
> - [GitHub Pages now uses Actions by default | The GitHub Blog](https://github.blog/2022-08-10-github-pages-now-uses-actions-by-default/)
> - [GitHub Pages: Custom GitHub Actions Workflows (beta) | GitHub Changelog](https://github.blog/changelog/2022-07-27-github-pages-custom-github-actions-workflows-beta/)
This is a **GitHub Action** to deploy your static files to **GitHub Pages**.
This deploy action can be combined simply and freely with [Static Site Generators]. (Hugo, MkDocs, Gatsby, mdBook, Next, Nuxt, and so on.)
[Static Site Generators]: https://www.staticgen.com/
[Static Site Generators]: https://jamstack.org/generators/
The next example step will deploy `./public` directory to the remote `gh-pages` branch.
@@ -24,7 +36,14 @@ The next example step will deploy `./public` directory to the remote `gh-pages`
publish_dir: ./public
```
### Supported Tokens
For newbies of GitHub Actions:
Note that the `GITHUB_TOKEN` is **NOT** a personal access token.
A GitHub Actions runner automatically creates a `GITHUB_TOKEN` secret to authenticate in your workflow.
So, you can start to deploy immediately without any configuration.
## Supported Tokens
Three tokens are supported.
@@ -38,15 +57,17 @@ Notes: Actually, the `GITHUB_TOKEN` works for deploying to GitHub Pages but it h
For the first deployment, we need to select the `gh-pages` branch or another branch on the repository settings tab.
See [First Deployment with `GITHUB_TOKEN`](#%EF%B8%8F-first-deployment-with-github_token)
### Supported Platforms
## Supported Platforms
All Actions runners: Linux (Ubuntu), macOS, and Windows are supported.
| runs-on | `github_token` | `deploy_key` | `personal_token` |
|---|:---:|:---:|:---:|
| ubuntu-22.04 | ✅️ | ✅️ | ✅️ |
| ubuntu-20.04 | ✅️ | ✅️ | ✅️ |
| ubuntu-18.04 | ✅️ | ✅️ | ✅️ |
| ubuntu-16.04 | ✅️ | ✅️ | ✅️ |
| ubuntu-latest | ✅️ | ✅️ | ✅️ |
| macos-latest | ✅️ | ✅️ | ✅️ |
| windows-latest | ✅️ | (2) | ✅️ |
@@ -54,12 +75,19 @@ All Actions runners: Linux (Ubuntu), macOS, and Windows are supported.
## GitHub Enterprise Server Support
✅️ GitHub Enterprise Server is supported above `2.22.6`.
Note that the `GITHUB_TOKEN` that is created by the runner might not inherently have push/publish privileges on GHES. You might need to create/request a technical user with write permissions to your target repository.
## Table of Contents
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
- [Getting started](#getting-started)
- [Options](#options)
- [⭐️ Set Runner's Access Token `github_token`](#%EF%B8%8F-set-runners-access-token-github_token)
@@ -93,7 +121,6 @@ All Actions runners: Linux (Ubuntu), macOS, and Windows are supported.
- [⭐️ mdBook (Rust)](#%EF%B8%8F-mdbook-rust)
- [⭐️ Flutter Web](#%EF%B8%8F-flutter-web)
- [⭐️ Elm](#%EF%B8%8F-elm)
- [⭐️ github/personal-website](#%EF%B8%8F-githubpersonal-website)
- [⭐️ Swift Publish](#%EF%B8%8F-swift-publish)
- [License](#license)
- [Maintainer](#maintainer)
@@ -113,18 +140,23 @@ Here is an example workflow for Hugo.
[![peaceiris/actions-hugo - GitHub](https://gh-card.dev/repos/peaceiris/actions-hugo.svg?fullname)](https://github.com/peaceiris/actions-hugo)
```yaml
name: github pages
name: GitHub Pages
on:
push:
branches:
- main # Set a branch name to trigger deployment
pull_request:
jobs:
deploy:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
@@ -132,13 +164,17 @@ jobs:
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.74.3'
hugo-version: '0.110.0'
- name: Build
run: hugo --minify
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
# If you're changing the branch from main,
# also change the `main` in `refs/heads/main`
# below accordingly.
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
@@ -160,7 +196,7 @@ jobs:
**This option is for `GITHUB_TOKEN`, not a personal access token.**
GitHub Actions runner automatically creates a `GITHUB_TOKEN` secret to use in your workflow. You can use the `GITHUB_TOKEN` to authenticate in a workflow run.
A GitHub Actions runner automatically creates a `GITHUB_TOKEN` secret to use in your workflow. You can use the `GITHUB_TOKEN` to authenticate in a workflow run.
```yaml
- name: Deploy
@@ -170,7 +206,7 @@ GitHub Actions runner automatically creates a `GITHUB_TOKEN` secret to use in yo
publish_dir: ./public
```
For more details about `GITHUB_TOKEN`: [Authenticating with the GITHUB_TOKEN - GitHub Help](https://help.github.com/en/actions/configuring-and-managing-workflows/authenticating-with-the-github_token)
For more details about `GITHUB_TOKEN`: [Automatic token authentication - GitHub Docs](https://docs.github.com/en/actions/security-guides/automatic-token-authentication)
### ⭐️ Set SSH Private Key `deploy_key`
@@ -212,6 +248,7 @@ The default is `gh-pages`.
### ⭐️ Source Directory `publish_dir`
A source directory to deploy to GitHub Pages. The default is `public`.
Only the contents of this dir are pushed to GitHub Pages branch, `gh-pages` by default.
```yaml
- name: Deploy
@@ -277,9 +314,10 @@ The `exclude_assets` option supports glob patterns.
### ⭐️ Add CNAME file `cname`
To add `CNAME` file, we can set the `cname` option.
To add the `CNAME` file, we can set the `cname` option.
Alternatively, put your `CNAME` file into your `publish_dir`. (e.g. `public/CNAME`)
For more details about `CNAME`, read the official documentation: [Managing a custom domain for your GitHub Pages site - GitHub Help](https://help.github.com/en/github/working-with-github-pages/managing-a-custom-domain-for-your-github-pages-site)
For more details about the `CNAME` file, read the official documentation: [Managing a custom domain for your GitHub Pages site - GitHub Docs](https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site/managing-a-custom-domain-for-your-github-pages-site)
```yaml
- name: Deploy
@@ -294,9 +332,7 @@ For more details about `CNAME`, read the official documentation: [Managing a cus
If you want GitHub Pages to process your site with the static site generator Jekyll, set `enable_jekyll` to true.
[github/personal-website](https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-githubpersonal-website) is one of the examples using GitHub Pages built-in Jekyll.
By default, this action signals to GitHub Pages that the site shall not be processed with Jekyll. This is done by adding an empty `.nojekyll` file when publishing to the master or gh-pages branch. When a `.nojekyll` file already exists, this action does nothing.
By default, this action signals to GitHub Pages that the site shall not be processed with Jekyll. This is done by adding an empty `.nojekyll` file on your publishing branch. When that file already exists, this action does nothing.
Bypassing Jekyll makes the deployment faster and is necessary if you are deploying files or directories that start with underscores, since Jekyll considers these to be special resources and does not copy them to the final site. You only need to set `enable_jekyll` to true when you want to deploy a Jekyll-powered website and let GitHub Pages do the Jekyll processing.
@@ -329,12 +365,12 @@ For example:
### ⭐️ Keeping existing files `keep_files`
By default, existing files in the publish branch are removed before adding the ones from publish dir. If you want the action to add new files but leave existing ones untouched, set the optional parameter `keep_files` to `true`.
By default, existing files in the publish branch (or only in `destination_dir` if given) will be removed. If you want the action to add new files but leave existing ones untouched, set the optional parameter `keep_files` to `true`.
Note that users who are using a Static Site Generator do not need this option in most cases. Please reconsider your project structure and building scripts, or use a built-in feature of a Static Site Generator before you enable this flag.
- [Static Files | Hugo](https://gohugo.io/content-management/static-files/)
- [Using the Static Folder | Gatsby](https://www.gatsbyjs.com/docs/static-folder/)
- [Using the Static Folder | Gatsby](https://www.gatsbyjs.com/docs/how-to/images-and-media/static-folder/)
For example:
@@ -443,7 +479,7 @@ use the `full_commit_message` option instead of the `commit_message` option.
Here is an example workflow.
```yaml
name: github pages
name: GitHub Pages
on:
push:
@@ -454,9 +490,13 @@ on:
jobs:
deploy:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Some build
@@ -464,17 +504,15 @@ jobs:
id: prepare_tag
if: startsWith(github.ref, 'refs/tags/')
run: |
TAG_NAME="${GITHUB_REF##refs/tags/}"
echo "::set-output name=tag_name::${TAG_NAME}"
echo "::set-output name=deploy_tag_name::deploy-${TAG_NAME}"
echo "DEPLOY_TAG_NAME=deploy-${TAG_NAME}" >> "${GITHUB_OUTPUT}"
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
tag_name: ${{ steps.prepare_tag.outputs.deploy_tag_name }}
tag_message: 'Deployment ${{ steps.prepare_tag.outputs.tag_name }}'
tag_name: ${{ steps.prepare_tag.outputs.DEPLOY_TAG_NAME }}
tag_message: 'Deployment ${{ github.ref_name }}'
```
Commands on a local machine.
@@ -505,11 +543,13 @@ Generate your deploy key with the following command.
```sh
ssh-keygen -t rsa -b 4096 -C "$(git config user.email)" -f gh-pages -N ""
# You will get 2 files:
# gh-pages.pub (public key)
# gh-pages (private key)
```
You will get 2 files:
- `gh-pages.pub` is a public key
- `gh-pages` is a private key
Next, Go to **Repository Settings**
- Go to **Deploy Keys** and add your public key with the **Allow write access**
@@ -535,6 +575,25 @@ The `GITHUB_TOKEN` has limitations for the first deployment so we have to select
|---|---|
| ![](./images/settings_select.jpg) | ![](./images/log_success.jpg) |
If the action fails to push the commit or tag with the following error:
```txt
/usr/bin/git push origin gh-pages
remote: Write access to repository not granted.
fatal: unable to access 'https://github.com/username/repository.git/': The requested URL returned error: 403
Error: Action failed with "The process '/usr/bin/git' failed with exit code 128"
```
Please add the write permission to the [`permissions.contents` in a workflow/job](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions).
```yaml
permissions:
contents: write
```
Alternatively, you can [configure the default `GITHUB_TOKEN` permissions](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#configuring-the-default-github_token-permissions) by selecting read and write permissions.
### ⭐️ Use the latest and specific release
We recommend you to use the latest and specific release of this action for stable CI/CD.
@@ -558,18 +617,18 @@ updates:
prefix: ci
```
See the official documentation for more details about the Dependabot: [Keeping your dependencies updated automatically - GitHub Docs](https://docs.github.com/en/github/administering-a-repository/keeping-your-dependencies-updated-automatically)
See the official documentation for more details about the Dependabot: [Keeping your dependencies updated automatically - GitHub Docs](https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically)
### ⭐️ Schedule and Manual Deployment
For deploying regularly, we can set the `on.schedule` workflow trigger.
See [Scheduled events | Events that trigger workflows - GitHub Docs](https://docs.github.com/en/actions/reference/events-that-trigger-workflows#scheduled-events)
See [Scheduled events | Events that trigger workflows - GitHub Docs](https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#scheduled-events)
For deploying manually, we can set the `on.workflow_dispatch` workflow trigger.
See [Manual events `workflow_dispatch` | Events that trigger workflows - GitHub Docs](https://docs.github.com/en/actions/reference/events-that-trigger-workflows#manual-events)
See [Manual events `workflow_dispatch` | Events that trigger workflows - GitHub Docs](https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#manual-events)
```yaml
name: github pages
name: GitHub Pages
on:
push:
@@ -581,7 +640,11 @@ on:
jobs:
deploy:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
...
```
@@ -596,36 +659,44 @@ jobs:
### ⭐️ Static Site Generators with Node.js
[hexo], [vuepress], [react-static], [gridsome], and so on.
[hexo], [vuepress], [react-static], [gridsome], [create-react-app] and so on.
Please check where your output directory is before pushing your workflow.
e.g. `create-react-app` requires `publish_dir` to be set to `./build`
[hexo]: https://github.com/hexojs/hexo
[vuepress]: https://github.com/vuejs/vuepress
[react-static]: https://github.com/react-static/react-static
[gridsome]: https://github.com/gridsome/gridsome
[create-react-app]: https://github.com/facebook/create-react-app
Premise: Dependencies are managed by `package.json` and `package-lock.json`
```yaml
name: github pages
name: GitHub Pages
on:
push:
branches:
- main
pull_request:
jobs:
deploy:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v2.1.0
uses: actions/setup-node@v3
with:
node-version: '12.x'
node-version: '14'
- name: Cache dependencies
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
@@ -637,6 +708,7 @@ jobs:
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
@@ -650,26 +722,31 @@ An example for [Gatsby] (Gatsby.js) project with [gatsby-starter-blog]
[gatsby-starter-blog]: https://github.com/gatsbyjs/gatsby-starter-blog
```yaml
name: github pages
name: GitHub Pages
on:
push:
branches:
- main
pull_request:
jobs:
deploy:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v2.1.0
uses: actions/setup-node@v3
with:
node-version: '12.x'
node-version: '14'
- name: Cache dependencies
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
@@ -683,6 +760,7 @@ jobs:
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
@@ -692,38 +770,41 @@ jobs:
An example for [Next.js] (React.js) project with [create-next-app]
- cf. [Deploying a Next.js app into GitHub Pages · zeit/next.js Wiki](https://github.com/zeit/next.js/wiki/Deploying-a-Next.js-app-into-GitHub-Pages)
[Next.js]: https://github.com/zeit/next.js
[Next.js]: https://github.com/vercel/next.js
[create-next-app]: https://nextjs.org/docs
```yaml
name: github pages
name: GitHub Pages
on:
push:
branches:
- main
pull_request:
jobs:
deploy:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v2.1.0
uses: actions/setup-node@v3
with:
node-version: '12.x'
node-version: '14'
- name: Get yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
run: echo "YARN_CACHE_DIR=$(yarn cache dir)" >> "${GITHUB_OUTPUT}"
- name: Cache dependencies
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache.outputs.dir }}
path: ${{ steps.yarn-cache.outputs.YARN_CACHE_DIR }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
@@ -734,6 +815,7 @@ jobs:
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./out
@@ -743,32 +825,37 @@ jobs:
An example for [Nuxt.js] (Vue.js) project with [create-nuxt-app]
- cf. [GitHub Pages Deployment - Nuxt.js](https://nuxtjs.org/faq/github-pages)
- cf. [Nuxt - GitHub Pages](https://nuxtjs.org/integrations/deployments/github-pages)
[Nuxt.js]: https://github.com/nuxt/nuxt.js
[create-nuxt-app]: https://github.com/nuxt/create-nuxt-app
```yaml
name: github pages
name: GitHub Pages
on:
push:
branches:
- main
pull_request:
jobs:
deploy:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v2.1.0
uses: actions/setup-node@v3
with:
node-version: '12.x'
node-version: '14'
- name: Cache dependencies
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
@@ -781,6 +868,7 @@ jobs:
- name: deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
@@ -795,7 +883,7 @@ An example workflow for [Docusaurus](https://docusaurus.io/).
```yaml
# .github/workflows/deploy.yml
name: github pages
name: GitHub Pages
on:
push:
@@ -804,29 +892,34 @@ on:
paths:
- '.github/workflows/deploy.yml'
- 'website/**'
pull_request:
jobs:
deploy:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
defaults:
run:
working-directory: website
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v2.1.0
uses: actions/setup-node@v3
with:
node-version: '12.x'
node-version: '14'
- name: Get yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
run: echo "YARN_CACHE_DIR=$(yarn cache dir)" >> "${GITHUB_OUTPUT}"
- name: Cache dependencies
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache.outputs.dir }}
path: ${{ steps.yarn-cache.outputs.YARN_CACHE_DIR }}
key: ${{ runner.os }}-website-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-website-
@@ -836,6 +929,7 @@ jobs:
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./website/build
@@ -852,21 +946,26 @@ jobs:
Premise: Dependencies are managed by `requirements.txt`
```yaml
name: github pages
name: GitHub Pages
on:
push:
branches:
- main
pull_request:
jobs:
deploy:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: '3.8'
@@ -877,10 +976,10 @@ jobs:
- name: Get pip cache dir
id: pip-cache
run: echo "::set-output name=dir::$(pip cache dir)"
run: echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
- name: Cache dependencies
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
@@ -894,6 +993,7 @@ jobs:
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site
@@ -908,53 +1008,68 @@ An example GitHub Actions workflow to deploy [rust-lang/mdBook] site to GitHub P
- [peaceiris/actions-mdbook: GitHub Actions for mdBook (rust-lang/mdBook)](https://github.com/peaceiris/actions-mdbook)
```yaml
name: github pages
name: GitHub Pages
on:
push:
branches:
- main
pull_request:
jobs:
deploy:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup mdBook
uses: peaceiris/actions-mdbook@v1
with:
mdbook-version: '0.3.7'
mdbook-version: '0.4.8'
# mdbook-version: 'latest'
- run: mdbook build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./book
```
Hint: you may want to publish your rustdocs. And use relative links to it from the md docs, and have them checked by `mdbook`.
Then, according to the [doc](https://rust-lang.github.io/mdBook/guide/creating.html#source-files), you may put `./target/doc/`
to your `./book/src` dir before you `mdbook build` and then it will end up in `./book/html/` and in your Github Pages.
### ⭐️ Flutter Web
An exapmle workflow for [Flutter web project].
An example workflow for [Flutter web project].
[Flutter web project]: https://flutter.dev/docs/get-started/web
```yaml
name: github pages
name: GitHub Pages
on:
push:
branches:
- main
pull_request:
jobs:
deploy:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup Flutter
run: |
@@ -971,6 +1086,7 @@ jobs:
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build/web
@@ -983,23 +1099,28 @@ An example workflow for [Elm].
[Elm]: https://elm-lang.org
```yaml
name: github pages
name: GitHub Pages
on:
push:
branches:
- main
pull_request:
jobs:
deploy:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v2.1.0
uses: actions/setup-node@v3
with:
node-version: '12.x'
node-version: '14'
- name: Setup Elm
run: npm install elm --global
@@ -1016,42 +1137,12 @@ jobs:
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
```
### ⭐️ github/personal-website
- [github/personal-website](https://github.com/github/personal-website) - Code that'll help you kickstart a personal website that showcases your work as a software developer.
```yaml
# .github/workflows/github-pages.yml
name: GitHub Pages
on:
push:
branches:
- master
schedule:
- cron: '24 */24 * * *' # Once a day
jobs:
deploy:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./
allow_empty_commit: true
enable_jekyll: true
cname: github.peaceiris.com
```
### ⭐️ Swift Publish
An example workflow for [JohnSundell/Publish].
@@ -1065,14 +1156,17 @@ on:
push:
branches:
- main
pull_request:
jobs:
deploy:
runs-on: macos-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: |
~/Publish_build
@@ -1096,6 +1190,7 @@ jobs:
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./Output

View File

@@ -0,0 +1 @@
/* CSS */

View File

@@ -0,0 +1 @@
// JavaScript

View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
</body>
</html>

View File

@@ -0,0 +1 @@
/* CSS */

View File

@@ -0,0 +1 @@
// JavaScript

View File

@@ -0,0 +1 @@
# https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners

View File

@@ -0,0 +1 @@
<!-- issue template -->

View File

@@ -0,0 +1,7 @@
# dependabot config
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily

View File

@@ -0,0 +1 @@
name: 'Test'

View File

@@ -0,0 +1 @@
/* CSS */

View File

@@ -0,0 +1 @@
// JavaScript

View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
</body>
</html>

View File

@@ -0,0 +1 @@
/* CSS */

View File

@@ -0,0 +1 @@
// JavaScript

View File

@@ -10,7 +10,7 @@ beforeEach(() => {
process.stdout.write = jest.fn();
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const doc: any = yaml.safeLoad(fs.readFileSync(__dirname + '/../action.yml', 'utf8'));
const doc: any = yaml.load(fs.readFileSync(__dirname + '/../action.yml', 'utf8'));
Object.keys(doc.inputs).forEach(name => {
const envVar = `INPUT_${name.replace(/ /g, '_').toUpperCase()}`;
process.env[envVar] = doc.inputs[name]['default'];
@@ -19,7 +19,7 @@ beforeEach(() => {
afterEach(() => {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const doc: any = yaml.safeLoad(fs.readFileSync(__dirname + '/../action.yml', 'utf8'));
const doc: any = yaml.load(fs.readFileSync(__dirname + '/../action.yml', 'utf8'));
Object.keys(doc.inputs).forEach(name => {
const envVar = `INPUT_${name.replace(/ /g, '_').toUpperCase()}`;
console.debug(`delete ${envVar}\t${process.env[envVar]}`);
@@ -184,6 +184,6 @@ describe('getInputs()', () => {
expect(() => {
getInputs();
}).toThrowError('Use either of enable_jekyll or disable_nojekyll');
}).toThrow('Use either of enable_jekyll or disable_nojekyll');
});
});

View File

@@ -1,4 +1,5 @@
import {
copyAssets,
setRepo,
getUserName,
getUserEmail,
@@ -10,6 +11,17 @@ import {Inputs} from '../src/interfaces';
import {getWorkDirName, createDir} from '../src/utils';
import {CmdResult} from '../src/interfaces';
import * as exec from '@actions/exec';
import {cp, rm} from 'shelljs';
import path from 'path';
import fs from 'fs';
const testRoot = path.resolve(__dirname);
async function createTestDir(name: string): Promise<string> {
const date = new Date();
const unixTime = date.getTime();
return await getWorkDirName(`${unixTime}_${name}`);
}
beforeEach(() => {
jest.resetModules();
@@ -22,6 +34,96 @@ afterEach(() => {
delete process.env['GITHUB_REPOSITORY'];
});
describe('copyAssets', () => {
let gitTempDir = '';
(async (): Promise<void> => {
const date = new Date();
const unixTime = date.getTime();
gitTempDir = await getWorkDirName(`${unixTime}_git`);
})();
beforeAll(async () => {
await createDir(gitTempDir);
process.chdir(gitTempDir);
await exec.exec('git', ['init']);
});
test('copy assets from publish_dir to root, delete .github', async () => {
const publishDir = await createTestDir('src');
const destDir = await createTestDir('dst');
cp('-Rf', path.resolve(testRoot, 'fixtures/publish_dir_1'), publishDir);
cp('-Rf', gitTempDir, destDir);
await copyAssets(publishDir, destDir, '.github');
expect(fs.existsSync(path.resolve(destDir, '.github'))).toBeFalsy();
expect(fs.existsSync(path.resolve(destDir, 'index.html'))).toBeTruthy();
expect(fs.existsSync(path.resolve(destDir, 'assets/lib.css'))).toBeTruthy();
rm('-rf', publishDir, destDir);
});
test('copy assets from publish_dir to root, delete .github,main.js', async () => {
const publishDir = await createTestDir('src');
const destDir = await createTestDir('dst');
cp('-Rf', path.resolve(testRoot, 'fixtures/publish_dir_1'), publishDir);
cp('-Rf', gitTempDir, destDir);
await copyAssets(publishDir, destDir, '.github,main.js');
expect(fs.existsSync(path.resolve(destDir, '.github'))).toBeFalsy();
expect(fs.existsSync(path.resolve(destDir, 'index.html'))).toBeTruthy();
expect(fs.existsSync(path.resolve(destDir, 'main.js'))).toBeFalsy();
expect(fs.existsSync(path.resolve(destDir, 'assets/lib.css'))).toBeTruthy();
expect(fs.existsSync(path.resolve(destDir, 'assets/lib.js'))).toBeTruthy();
rm('-rf', publishDir, destDir);
});
test('copy assets from publish_dir to root, delete nothing', async () => {
const publishDir = await createTestDir('src');
const destDir = await createTestDir('dst');
cp('-Rf', path.resolve(testRoot, 'fixtures/publish_dir_root'), publishDir);
cp('-Rf', gitTempDir, destDir);
await copyAssets(publishDir, destDir, '');
expect(fs.existsSync(path.resolve(destDir, '.github'))).toBeTruthy();
expect(fs.existsSync(path.resolve(destDir, 'index.html'))).toBeTruthy();
expect(fs.existsSync(path.resolve(destDir, 'main.js'))).toBeTruthy();
expect(fs.existsSync(path.resolve(destDir, 'assets/lib.css'))).toBeTruthy();
expect(fs.existsSync(path.resolve(destDir, 'assets/lib.js'))).toBeTruthy();
rm('-rf', publishDir, destDir);
});
test('copy assets from root to root, delete .github', async () => {
const publishDir = await createTestDir('src');
const destDir = await createTestDir('dst');
cp('-Rf', path.resolve(testRoot, 'fixtures/publish_dir_root'), publishDir);
cp('-Rf', gitTempDir, destDir);
cp('-Rf', gitTempDir, publishDir);
await copyAssets(publishDir, destDir, '.github');
expect(fs.existsSync(path.resolve(destDir, '.github'))).toBeFalsy();
expect(fs.existsSync(path.resolve(destDir, 'index.html'))).toBeTruthy();
expect(fs.existsSync(path.resolve(destDir, 'assets/lib.css'))).toBeTruthy();
rm('-rf', publishDir, destDir);
});
test('copy assets from root to root, delete nothing', async () => {
const publishDir = await createTestDir('src');
const destDir = await createTestDir('dst');
cp('-Rf', path.resolve(testRoot, 'fixtures/publish_dir_root'), publishDir);
cp('-Rf', gitTempDir, destDir);
cp('-Rf', gitTempDir, publishDir);
await copyAssets(publishDir, destDir, '');
expect(fs.existsSync(path.resolve(destDir, '.github'))).toBeTruthy();
expect(fs.existsSync(path.resolve(destDir, 'index.html'))).toBeTruthy();
expect(fs.existsSync(path.resolve(destDir, 'assets/lib.css'))).toBeTruthy();
rm('-rf', publishDir, destDir);
});
test.todo('copy assets from root to subdir, delete .github');
test.todo('copy assets from root to subdir, delete .github,main.js');
test.todo('copy assets from root to subdir, delete nothing');
});
describe('setRepo()', () => {
test('throw error destination_dir should be a relative path', async () => {
process.env['INPUT_GITHUB_TOKEN'] = 'test_github_token';
@@ -46,7 +148,7 @@ describe('setRepo()', () => {
const date = new Date();
const unixTime = date.getTime();
const workDir = await getWorkDirName(`${unixTime}`);
await expect(setRepo(inps, remoteURL, workDir)).rejects.toThrowError(
await expect(setRepo(inps, remoteURL, workDir)).rejects.toThrow(
'destination_dir should be a relative path'
);
});
@@ -139,17 +241,13 @@ describe('setCommitAuthor()', () => {
test('throw error user_email is undefined', async () => {
const userName = 'custom-octocat';
const userEmail = '';
await expect(setCommitAuthor(userName, userEmail)).rejects.toThrowError(
'user_email is undefined'
);
await expect(setCommitAuthor(userName, userEmail)).rejects.toThrow('user_email is undefined');
});
test('throw error user_name is undefined', async () => {
const userName = '';
const userEmail = 'custom-octocat@github.com';
await expect(setCommitAuthor(userName, userEmail)).rejects.toThrowError(
'user_name is undefined'
);
await expect(setCommitAuthor(userName, userEmail)).rejects.toThrow('user_name is undefined');
});
});

View File

@@ -0,0 +1,37 @@
import {setPersonalToken, setGithubToken} from '../src/set-tokens';
const OLD_ENV = process.env;
beforeEach(() => {
jest.resetModules();
process.env = {...OLD_ENV};
});
afterAll(() => {
process.env = OLD_ENV; // Restore old environment
});
describe('setGithubToken()', () => {
test('return remote url with GITHUB_TOKEN gh-pages', () => {
process.env.GITHUB_SERVER_URL = 'https://github.enterprise.server';
const expected = 'https://x-access-token:GITHUB_TOKEN@github.enterprise.server/owner/repo.git';
const test = setGithubToken(
'GITHUB_TOKEN',
'owner/repo',
'gh-pages',
'',
'refs/heads/master',
'push'
);
expect(test).toMatch(expected);
});
});
describe('setPersonalToken()', () => {
test('return remote url with personal access token', () => {
process.env.GITHUB_SERVER_URL = 'https://github.enterprise.server';
const expected = 'https://x-access-token:pat@github.enterprise.server/owner/repo.git';
const test = setPersonalToken('pat', 'owner/repo');
expect(test).toMatch(expected);
});
});

View File

@@ -70,13 +70,13 @@ describe('setGithubToken()', () => {
'refs/heads/gh-pages-base',
'push'
);
}).toThrowError('You deploy from gh-pages-base to gh-pages-base');
}).toThrow('You deploy from gh-pages-base to gh-pages-base');
});
test('throw error master to master', () => {
expect(() => {
setGithubToken('GITHUB_TOKEN', 'owner/repo', 'master', '', 'refs/heads/master', 'push');
}).toThrowError('You deploy from master to master');
}).toThrow('You deploy from master to master');
});
test('throw error external repository with GITHUB_TOKEN', () => {
@@ -89,7 +89,7 @@ describe('setGithubToken()', () => {
'refs/heads/master',
'push'
);
}).toThrowError(`\
}).toThrow(`\
The generated GITHUB_TOKEN (github_token) does not support to push to an external repository.
Use deploy_key or personal_token.
`);

View File

@@ -2,7 +2,7 @@ name: 'GitHub Pages action'
description: 'GitHub Actions for GitHub Pages 🚀 Deploy static files and publish your site easily. Static-Site-Generators-friendly.'
author: 'peaceiris'
runs:
using: 'node12'
using: 'node16'
main: 'lib/index.js'
branding:
icon: 'upload-cloud'
@@ -67,7 +67,7 @@ inputs:
required: false
default: 'false'
disable_nojekyll:
description: 'An alias for enable_jekyll to disable adding .nojekyll file to master or gh-pages branches'
description: 'An alias for enable_jekyll to disable adding .nojekyll file to a publishing branch'
required: false
default: 'false'
cname:

View File

@@ -1,16 +0,0 @@
version: '3.2'
services:
dev:
image: 'docker.pkg.github.com/peaceiris/actions-gh-pages/dev:latest'
build:
context: .
cache_from:
- 'docker.pkg.github.com/peaceiris/actions-gh-pages/dev:latest'
container_name: peaceiris_actions_github_pages
volumes:
- ${PWD}:/repo
stdin_open: true
tty: true
command:
- bash

File diff suppressed because one or more lines are too long

15819
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,30 +1,23 @@
{
"name": "actions-github-pages",
"version": "3.7.2",
"version": "3.9.3",
"description": "GitHub Actions for GitHub Pages",
"main": "lib/index.js",
"engines": {
"node": ">=12.16.3",
"npm": ">=6.14.4"
"node": ">=v16.19.0",
"npm": ">=9.3.1"
},
"scripts": {
"postinstall": "npx husky install",
"all": "npm run format && npm run lint && npm test",
"lint": "eslint ./{src,__tests__}/**/*.ts",
"lint:fix": "eslint --fix ./{src,__tests__}/**/*.ts",
"test": "jest --coverage --verbose --detectOpenHandles",
"build": "ncc build ./src/index.ts -o lib --minify",
"tsc": "tsc",
"format": "prettier --write **/*.ts",
"format:check": "prettier --check **/*.ts",
"release": "standard-version",
"update-deps": "(git diff 'HEAD@{1}' --name-only | grep 'package-lock.json' > /dev/null) && npm ci || :"
},
"husky": {
"skipCI": true,
"hooks": {
"pre-commit": "lint-staged",
"post-merge": "npm run update-deps; git remote prune origin"
}
"format": "prettier --write '**/*.ts'",
"format:check": "prettier --check '**/*.ts'",
"release": "standard-version"
},
"lint-staged": {
"{src,__tests__}/**/*.ts": [
@@ -32,7 +25,7 @@
"eslint"
],
"README.md": [
"npx doctoc@1.4.0 --github"
"npx doctoc@2.1.0 --github"
]
},
"repository": {
@@ -54,33 +47,33 @@
},
"homepage": "https://github.com/peaceiris/actions-gh-pages#readme",
"dependencies": {
"@actions/core": "^1.2.6",
"@actions/exec": "^1.0.4",
"@actions/github": "^4.0.0",
"@actions/glob": "^0.1.0",
"@actions/io": "^1.0.2",
"@types/shelljs": "^0.8.8",
"shelljs": "^0.8.4"
"@actions/core": "^1.10.0",
"@actions/exec": "^1.1.1",
"@actions/github": "^5.1.1",
"@actions/glob": "^0.4.0",
"@actions/io": "^1.1.2",
"@types/shelljs": "^0.8.11",
"shelljs": "^0.8.5"
},
"devDependencies": {
"@types/jest": "^26.0.14",
"@types/js-yaml": "^3.12.5",
"@types/node": "~12",
"@typescript-eslint/eslint-plugin": "^4.4.0",
"@typescript-eslint/parser": "^4.4.0",
"@vercel/ncc": "^0.24.1",
"eslint": "^7.11.0",
"eslint-config-prettier": "^6.12.0",
"eslint-plugin-jest": "^24.1.0",
"eslint-plugin-prettier": "^3.1.4",
"husky": "^4.3.0",
"jest": "^26.5.3",
"jest-circus": "^26.5.3",
"js-yaml": "^3.14.0",
"lint-staged": "^10.4.0",
"prettier": "2.1.2",
"standard-version": "^9.0.0",
"ts-jest": "^26.4.1",
"typescript": "^4.0.3"
"@types/jest": "^29.2.6",
"@types/js-yaml": "^4.0.5",
"@types/node": "~16",
"@typescript-eslint/eslint-plugin": "^5.48.2",
"@typescript-eslint/parser": "^5.48.2",
"@vercel/ncc": "^0.36.0",
"eslint": "^8.32.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.3",
"jest": "^29.3.1",
"jest-circus": "^29.3.1",
"js-yaml": "^4.1.0",
"lint-staged": "^13.1.0",
"prettier": "2.8.7",
"standard-version": "^9.1.1",
"ts-jest": "^29.0.5",
"typescript": "^4.9.4"
}
}

View File

@@ -47,7 +47,7 @@ else
git pull origin --tags
fi
npm ci
npm install
mkdir ./lib
npm run build

13
renovate.json Normal file
View File

@@ -0,0 +1,13 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"local>peaceiris/renovate-config"
],
"packageRules": [
{
"automerge": true,
"matchUpdateTypes": ["minor", "patch"],
"automergeStrategy": "squash"
}
]
}

View File

@@ -35,10 +35,10 @@ export function showInputs(inps: Inputs): void {
export function getInputs(): Inputs {
let useBuiltinJekyll = false;
const enableJekyll: boolean =
(core.getInput('enable_jekyll') || 'false').toUpperCase() === 'TRUE';
const disableNoJekyll: boolean =
(core.getInput('disable_nojekyll') || 'false').toUpperCase() === 'TRUE';
const isBoolean = (param: string): boolean => (param || 'false').toUpperCase() === 'TRUE';
const enableJekyll: boolean = isBoolean(core.getInput('enable_jekyll'));
const disableNoJekyll: boolean = isBoolean(core.getInput('disable_nojekyll'));
if (enableJekyll && disableNoJekyll) {
throw new Error(`Use either of enable_jekyll or disable_nojekyll`);
@@ -56,9 +56,9 @@ export function getInputs(): Inputs {
PublishDir: core.getInput('publish_dir'),
DestinationDir: core.getInput('destination_dir'),
ExternalRepository: core.getInput('external_repository'),
AllowEmptyCommit: (core.getInput('allow_empty_commit') || 'false').toUpperCase() === 'TRUE',
KeepFiles: (core.getInput('keep_files') || 'false').toUpperCase() === 'TRUE',
ForceOrphan: (core.getInput('force_orphan') || 'false').toUpperCase() === 'TRUE',
AllowEmptyCommit: isBoolean(core.getInput('allow_empty_commit')),
KeepFiles: isBoolean(core.getInput('keep_files')),
ForceOrphan: isBoolean(core.getInput('force_orphan')),
UserName: core.getInput('user_name'),
UserEmail: core.getInput('user_email'),
CommitMessage: core.getInput('commit_message'),

View File

@@ -1,12 +1,12 @@
import * as core from '@actions/core';
import * as exec from '@actions/exec';
import * as io from '@actions/io';
import * as glob from '@actions/glob';
import path from 'path';
import fs from 'fs';
import {URL} from 'url';
import {Inputs, CmdResult} from './interfaces';
import {createDir} from './utils';
import {cp} from 'shelljs';
import {cp, rm} from 'shelljs';
export async function createBranchForce(branch: string): Promise<void> {
await exec.exec('git', ['init']);
@@ -14,7 +14,12 @@ export async function createBranchForce(branch: string): Promise<void> {
return;
}
export function getServerUrl(): URL {
return new URL(process.env['GITHUB_SERVER_URL'] || 'https://github.com');
}
export async function deleteExcludedAssets(destDir: string, excludeAssets: string): Promise<void> {
if (excludeAssets === '') return;
core.info(`[INFO] delete excluded assets`);
const excludedAssetNames: Array<string> = excludeAssets.split(',');
const excludedAssetPaths = ((): Array<string> => {
@@ -25,10 +30,11 @@ export async function deleteExcludedAssets(destDir: string, excludeAssets: strin
return paths;
})();
const globber = await glob.create(excludedAssetPaths.join('\n'));
for await (const asset of globber.globGenerator()) {
core.info(`[INFO] delete ${asset}`);
io.rmRF(asset);
const files = await globber.glob();
for await (const file of globber.globGenerator()) {
core.info(`[INFO] delete ${file}`);
}
rm('-rf', files);
return;
}
@@ -39,15 +45,15 @@ export async function copyAssets(
): Promise<void> {
core.info(`[INFO] prepare publishing assets`);
if (fs.existsSync(destDir) === false) {
if (!fs.existsSync(destDir)) {
core.info(`[INFO] create ${destDir}`);
await createDir(destDir);
}
const dotGitPath = path.join(publishDir, '.git');
if (fs.existsSync(dotGitPath)) {
core.info(`[INFO] delete .git`);
io.rmRF(dotGitPath);
core.info(`[INFO] delete ${dotGitPath}`);
rm('-rf', dotGitPath);
}
core.info(`[INFO] copy ${publishDir} to ${destDir}`);
@@ -121,15 +127,19 @@ export async function setRepo(inps: Inputs, remoteURL: string, workDir: string):
} else {
throw new Error(`Failed to clone remote branch ${inps.PublishBranch}`);
}
} catch (e) {
core.info(`[INFO] first deployment, create new branch ${inps.PublishBranch}`);
core.info(`[INFO] ${e.message}`);
await createDir(destDir);
core.info(`[INFO] chdir ${workDir}`);
process.chdir(workDir);
await createBranchForce(inps.PublishBranch);
await copyAssets(publishDir, destDir, inps.ExcludeAssets);
return;
} catch (error) {
if (error instanceof Error) {
core.info(`[INFO] first deployment, create new branch ${inps.PublishBranch}`);
core.info(`[INFO] ${error.message}`);
await createDir(destDir);
core.info(`[INFO] chdir ${workDir}`);
process.chdir(workDir);
await createBranchForce(inps.PublishBranch);
await copyAssets(publishDir, destDir, inps.ExcludeAssets);
return;
} else {
throw new Error('unexpected error');
}
}
}
@@ -195,9 +205,13 @@ export async function commit(allowEmptyCommit: boolean, msg: string): Promise<vo
} else {
await exec.exec('git', ['commit', '-m', `${msg}`]);
}
} catch (e) {
core.info('[INFO] skip commit');
core.debug(`[INFO] skip commit ${e.message}`);
} catch (error) {
if (error instanceof Error) {
core.info('[INFO] skip commit');
core.debug(`[INFO] skip commit ${error.message}`);
} else {
throw new Error('unexpected error');
}
}
}

View File

@@ -4,7 +4,11 @@ import * as main from './main';
(async (): Promise<void> => {
try {
await main.run();
} catch (e) {
core.setFailed(`Action failed with "${e.message}"`);
} catch (error) {
if (error instanceof Error) {
core.setFailed(`Action failed with "${error.message}"`);
} else {
core.setFailed('unexpected error');
}
}
})();

View File

@@ -57,8 +57,12 @@ export async function run(): Promise<void> {
core.startGroup('Setup Git config');
try {
await exec.exec('git', ['remote', 'rm', 'origin']);
} catch (e) {
core.info(`[INFO] ${e.message}`);
} catch (error) {
if (error instanceof Error) {
core.info(`[INFO] ${error.message}`);
} else {
throw new Error('unexpected error');
}
}
await exec.exec('git', ['remote', 'add', 'origin', remoteURL]);
await exec.exec('git', ['add', '--all']);
@@ -86,7 +90,11 @@ export async function run(): Promise<void> {
core.info('[INFO] Action successfully completed');
return;
} catch (e) {
throw new Error(e.message);
} catch (error) {
if (error instanceof Error) {
throw new Error(error.message);
} else {
throw new Error('unexpected error');
}
}
}

View File

@@ -10,6 +10,7 @@ const cpSpawnSync = require('child_process').spawnSync;
const cpexec = require('child_process').execFileSync;
import {Inputs} from './interfaces';
import {getHomeDir} from './utils';
import {getServerUrl} from './git-utils';
export async function setSSHKey(inps: Inputs, publishRepo: string): Promise<string> {
core.info('[INFO] setup SSH deploy key');
@@ -20,10 +21,12 @@ export async function setSSHKey(inps: Inputs, publishRepo: string): Promise<stri
await exec.exec('chmod', ['700', sshDir]);
const knownHosts = path.join(sshDir, 'known_hosts');
// ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts on Ubuntu
// ssh-keyscan -t rsa github.com or serverUrl >> ~/.ssh/known_hosts on Ubuntu
const cmdSSHkeyscanOutput = `\
# github.com:22 SSH-2.0-babeld-1f0633a6
github.com ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ==
# ${getServerUrl().host}.com:22 SSH-2.0-babeld-1f0633a6
${
getServerUrl().host
} ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCj7ndNxQowgcQnjshcLrqPEiiphnt+VTTvDP6mHBL9j1aNUkY4Ue1gvwnGLVlOhGeYrnZaMgRK6+PKCUXaDbC7qtbW8gIkhL7aGCsOr/C56SJMy/BCZfxd1nWzAOxSDPgVsmerOBYfNqltV9/hWCqBywINIR+5dIg6JTJ72pcEpEjcYgXkE2YEFXV1JHnsKgbLWNlhScqb2UmyRkQyytRLtL+38TGxkxCflmO+5Z8CSSNY7GidjMIZ7Q4zMjA2n1nGrlTDkzwDCsw+wqFPGQA179cnfGWOWRVruj16z6XyvxvjJwbz0wQZ75XK5tKSb7FNyeIEs4TT4jk+S4dhPeAUC5y+bDYirYgM4GC7uEnztnZyaVWQ7B381AK4Qdrwt51ZqExKbQpTUNn+EjqoTwvqNj4kqx5QUCI0ThS/YkOxJCXmPUWZbhjpCg56i+2aB6CmK2JGhn57K5mj0MNdBXA4/WnwH6XoPWJzK5Nyu2zB3nAZp+S5hpQs+p1vN1/wsjk=
`;
fs.writeFileSync(knownHosts, cmdSSHkeyscanOutput + '\n');
core.info(`[INFO] wrote ${knownHosts}`);
@@ -36,8 +39,8 @@ github.com ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXY
const sshConfigPath = path.join(sshDir, 'config');
const sshConfigContent = `\
Host github
HostName github.com
Host ${getServerUrl().host}
HostName ${getServerUrl().host}
IdentityFile ~/.ssh/github
User git
`;
@@ -60,7 +63,7 @@ Watch https://github.com/peaceiris/actions-gh-pages/issues/87
core.exportVariable('SSH_AUTH_SOCK', '/tmp/ssh-auth.sock');
await exec.exec('ssh-add', [idRSA]);
return `git@github.com:${publishRepo}.git`;
return `git@${getServerUrl().host}:${publishRepo}.git`;
}
export function setGithubToken(
@@ -94,12 +97,12 @@ This operation is prohibited to protect your contents
}
}
return `https://x-access-token:${githubToken}@github.com/${publishRepo}.git`;
return `https://x-access-token:${githubToken}@${getServerUrl().host}/${publishRepo}.git`;
}
export function setPersonalToken(personalToken: string, publishRepo: string): string {
core.info('[INFO] setup personal access token');
return `https://x-access-token:${personalToken}@github.com/${publishRepo}.git`;
return `https://x-access-token:${personalToken}@${getServerUrl().host}/${publishRepo}.git`;
}
export function getPublishRepo(externalRepository: string, owner: string, repo: string): string {
@@ -135,7 +138,11 @@ export async function setTokens(inps: Inputs): Promise<string> {
} else {
throw new Error('not found deploy key or tokens');
}
} catch (e) {
throw new Error(e.message);
} catch (error) {
if (error instanceof Error) {
throw new Error(error.message);
} else {
throw new Error('unexpected error');
}
}
}

View File

@@ -1,64 +1,15 @@
{
"compilerOptions": {
/* Basic Options */
// "incremental": true, /* Enable incremental compilation */
"target": "es6", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
// "allowJs": true, /* Allow javascript files to be compiled. */
// "checkJs": true, /* Report errors in .js files. */
// "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
// "declaration": true, /* Generates corresponding '.d.ts' file. */
// "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
"sourceMap": true, /* Generates corresponding '.map' file. */
// "outFile": "./", /* Concatenate and emit output to single file. */
"outDir": "./lib", /* Redirect output structure to the directory. */
"rootDir": "./src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
// "composite": true, /* Enable project compilation */
// "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */
"removeComments": true, /* Do not emit comments to output. */
// "noEmit": true, /* Do not emit outputs. */
// "importHelpers": true, /* Import emit helpers from 'tslib'. */
// "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */
// "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */
/* Strict Type-Checking Options */
"strict": true, /* Enable all strict type-checking options. */
"noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
// "strictNullChecks": true, /* Enable strict null checks. */
// "strictFunctionTypes": true, /* Enable strict checking of function types. */
// "strictBindCallApply": true, /* Enable strict 'bind', 'call', and 'apply' methods on functions. */
// "strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */
// "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */
// "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */
/* Additional Checks */
// "noUnusedLocals": true, /* Report errors on unused locals. */
// "noUnusedParameters": true, /* Report errors on unused parameters. */
// "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
// "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
/* Module Resolution Options */
// "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
// "baseUrl": "./", /* Base directory to resolve non-absolute module names. */
// "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
// "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
// "typeRoots": [], /* List of folders to include type definitions from. */
// "types": [], /* Type declaration files to be included in compilation. */
// "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
"esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
// "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
/* Source Map Options */
// "sourceRoot": "", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
// "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
// "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */
// "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */
/* Experimental Options */
// "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
// "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
"lib": ["ES2019"],
"module": "commonjs",
"target": "ES2019",
"sourceMap": true,
"outDir": "./lib",
"rootDir": "./src",
"removeComments": true,
"strict": true,
"noImplicitAny": true,
"esModuleInterop": true,
"resolveJsonModule": true
},
"exclude": ["node_modules", "**/*.test.ts"]