mirror of
https://github.com/peaceiris/actions-hugo.git
synced 2026-01-25 12:22:17 +01:00
Compare commits
172 Commits
vscode-con
...
v2.5.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c03b5dbed2 | ||
|
|
d282fd0d5e | ||
|
|
f3792d95d8 | ||
|
|
6d30a88741 | ||
|
|
65bdbf15ab | ||
|
|
b843eaee1d | ||
|
|
f245604698 | ||
|
|
634c0f2891 | ||
|
|
6b42ea1676 | ||
|
|
929d18cc52 | ||
|
|
065ff428c5 | ||
|
|
b67469730c | ||
|
|
b263ea9e10 | ||
|
|
937472ef05 | ||
|
|
d2d1138306 | ||
|
|
5d548aa7b6 | ||
|
|
354ddc2c0e | ||
|
|
b7da7a5c7f | ||
|
|
da36599fbf | ||
|
|
fbae6cf1c8 | ||
|
|
e53f8d69e5 | ||
|
|
0590f912fc | ||
|
|
e77b89094b | ||
|
|
9f50a3c912 | ||
|
|
917a09767d | ||
|
|
d2e1e740d0 | ||
|
|
a6b1a4cb03 | ||
|
|
c3d587365f | ||
|
|
31afbc6b76 | ||
|
|
638ebc39d8 | ||
|
|
4f6ebdd767 | ||
|
|
32f5b71c41 | ||
|
|
029d5ce0d0 | ||
|
|
9564982d19 | ||
|
|
da35efefa8 | ||
|
|
612b00fe8f | ||
|
|
b2b9041dc7 | ||
|
|
10834f4404 | ||
|
|
f6171a1916 | ||
|
|
8ed2f1fddd | ||
|
|
206a21899a | ||
|
|
8087db7214 | ||
|
|
e4d3e173c5 | ||
|
|
b0fb91bc02 | ||
|
|
781fb448ba | ||
|
|
ee35d79f1a | ||
|
|
beaa1ee2a1 | ||
|
|
9dea4e7496 | ||
|
|
9dc9001ec2 | ||
|
|
8808a28020 | ||
|
|
d2c234c93b | ||
|
|
ecc43610c0 | ||
|
|
35b8c49468 | ||
|
|
fc61cdeb05 | ||
|
|
7e706f1384 | ||
|
|
ff64ad3cd4 | ||
|
|
21d2e6ea58 | ||
|
|
5560a30c30 | ||
|
|
bad27227bf | ||
|
|
d2b6644a80 | ||
|
|
0df2d4252f | ||
|
|
4d4d52c170 | ||
|
|
a7dd10985c | ||
|
|
a448002cc3 | ||
|
|
a5336818df | ||
|
|
d183b58fee | ||
|
|
7e8c2a08b4 | ||
|
|
57c1213897 | ||
|
|
0c241c131a | ||
|
|
2b3e82c924 | ||
|
|
8bb474e6f0 | ||
|
|
b1548a6acb | ||
|
|
2e89aa66d0 | ||
|
|
8286aeefb8 | ||
|
|
88b26abfee | ||
|
|
cd215c4ce4 | ||
|
|
d13e210741 | ||
|
|
18a809e6c9 | ||
|
|
4245d14847 | ||
|
|
33a289a0d5 | ||
|
|
01cbeb899c | ||
|
|
267b3f1c66 | ||
|
|
3317f5e6cd | ||
|
|
5e135f617c | ||
|
|
3c588690f5 | ||
|
|
fe1c07bf27 | ||
|
|
873c0ab6ca | ||
|
|
e091c924f2 | ||
|
|
22a55848e8 | ||
|
|
802b595093 | ||
|
|
3120b3dd8c | ||
|
|
f0e838658f | ||
|
|
4b04428f53 | ||
|
|
79ed21ee9b | ||
|
|
4c60b233f2 | ||
|
|
bcbb69dfa4 | ||
|
|
4e17872cd1 | ||
|
|
b59871c37d | ||
|
|
e7fbc0b5da | ||
|
|
6b131935e4 | ||
|
|
5825c9307b | ||
|
|
5b3d1ee007 | ||
|
|
5a94243d05 | ||
|
|
b0f29e7ede | ||
|
|
b94c20b65d | ||
|
|
71168fab79 | ||
|
|
caf4dd6aae | ||
|
|
aba4ae3195 | ||
|
|
e0b4d029a2 | ||
|
|
c230bfdf99 | ||
|
|
6ec44a7303 | ||
|
|
444111b78c | ||
|
|
997c3c888a | ||
|
|
a6baa39988 | ||
|
|
6c93ce5fef | ||
|
|
77557cc391 | ||
|
|
bfac4748b6 | ||
|
|
baf489601c | ||
|
|
e45313c6a1 | ||
|
|
77531419b5 | ||
|
|
32ec0a285c | ||
|
|
d1ebf3fd0d | ||
|
|
ca4532b6bc | ||
|
|
5a7d3a7506 | ||
|
|
1f22e6c5e6 | ||
|
|
61b002f4ff | ||
|
|
2acd7a45c8 | ||
|
|
67dcb244d0 | ||
|
|
be3e1ccca2 | ||
|
|
beefbb44e1 | ||
|
|
3462f4d33f | ||
|
|
f8104a9bdb | ||
|
|
316ab5f380 | ||
|
|
64f9c36d5e | ||
|
|
b7fbea4c34 | ||
|
|
76e5f6f1f3 | ||
|
|
89d2e2c7e8 | ||
|
|
71327d4646 | ||
|
|
1eeaa0edab | ||
|
|
da2d5466d3 | ||
|
|
71f80aff9f | ||
|
|
3f02ff7a9e | ||
|
|
87ff7f6586 | ||
|
|
18a17a77a8 | ||
|
|
483f8d1e34 | ||
|
|
c83f10804e | ||
|
|
cf40bc8ca5 | ||
|
|
2fa902b35f | ||
|
|
16d8ce1cd5 | ||
|
|
1835230a2b | ||
|
|
f1c7ecda61 | ||
|
|
96f56dee02 | ||
|
|
863939f1a7 | ||
|
|
00ad5734ff | ||
|
|
eb88818df9 | ||
|
|
45f920d29b | ||
|
|
d59d21e633 | ||
|
|
e4507caf0b | ||
|
|
f42b9853d3 | ||
|
|
638096b27f | ||
|
|
53a8986af5 | ||
|
|
838268abaf | ||
|
|
9f4ef016d6 | ||
|
|
8bff475612 | ||
|
|
be3787356a | ||
|
|
919a5f9b0b | ||
|
|
20fdc5a174 | ||
|
|
6fca5e4b8e | ||
|
|
0ea1e4ebec | ||
|
|
54af4c1320 | ||
|
|
998d85162e | ||
|
|
c0e9f57fdb |
5
.github/ISSUE_TEMPLATE/config.yml
vendored
5
.github/ISSUE_TEMPLATE/config.yml
vendored
@@ -1,8 +1,11 @@
|
||||
blank_issues_enabled: false
|
||||
contact_links:
|
||||
- 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: Hugo Community Forum
|
||||
url: https://discourse.gohugo.io/
|
||||
about: Please ask questions about Hugo here.
|
||||
- name: GitHub Actions Documentation
|
||||
url: https://docs.github.com/en/free-pro-team@latest/actions
|
||||
about: GitHub Actions official documentation here.
|
||||
|
||||
8
.github/dependabot.yml
vendored
8
.github/dependabot.yml
vendored
@@ -6,14 +6,10 @@ updates:
|
||||
interval: daily
|
||||
time: '11:00'
|
||||
timezone: Japan
|
||||
open-pull-requests-limit: 1
|
||||
labels:
|
||||
- "dependencies"
|
||||
ignore:
|
||||
- dependency-name: "@types/node"
|
||||
versions:
|
||||
- ">= 13.a, < 14"
|
||||
- ">= 14.a, < 15"
|
||||
allow:
|
||||
- dependency-type: "production"
|
||||
commit-message:
|
||||
prefix: deps
|
||||
|
||||
|
||||
2
.github/label-commenter-config.yml
vendored
2
.github/label-commenter-config.yml
vendored
@@ -9,7 +9,7 @@ labels:
|
||||
issue:
|
||||
body: |
|
||||
Please ask questions about GitHub Actions or Hugo at the following forum.
|
||||
- [GitHub Actions Community Forum](https://github.community/t5/GitHub-Actions/bd-p/actions)
|
||||
- [GitHub Actions Community Forum](https://github.community/c/github-actions)
|
||||
- [Hugo Community Forum](https://discourse.gohugo.io/)
|
||||
action: close
|
||||
- name: wontfix
|
||||
|
||||
24
.github/workflows/codeql-analysis.yml
vendored
Normal file
24
.github/workflows/codeql-analysis.yml
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
name: "Code Scanning"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
CodeQL-Build:
|
||||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2.3.4
|
||||
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v1
|
||||
with:
|
||||
languages: javascript
|
||||
|
||||
- name: Autobuild
|
||||
uses: github/codeql-action/autobuild@v1
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v1
|
||||
14
.github/workflows/dev-image.yml
vendored
14
.github/workflows/dev-image.yml
vendored
@@ -3,7 +3,7 @@ name: 'Dev Image CI'
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
paths:
|
||||
- '.github/workflows/dev-image.yml'
|
||||
- '.dockerignore'
|
||||
@@ -22,16 +22,12 @@ on:
|
||||
- 'Makefile'
|
||||
|
||||
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
|
||||
- uses: actions/checkout@v2.3.4
|
||||
- run: make build
|
||||
- run: make cirun cmd="npm ci"
|
||||
- run: make ciall
|
||||
# - run: make ciall
|
||||
- run: make cirun cmd="npm run format:check"
|
||||
- run: make cirun cmd="npm run lint"
|
||||
|
||||
6
.github/workflows/label-commenter.yml
vendored
6
.github/workflows/label-commenter.yml
vendored
@@ -14,12 +14,12 @@ jobs:
|
||||
comment:
|
||||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v2.3.4
|
||||
with:
|
||||
ref: master
|
||||
ref: main
|
||||
|
||||
- name: Label Commenter
|
||||
uses: peaceiris/actions-label-commenter@v1
|
||||
uses: peaceiris/actions-label-commenter@v1.9.1
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
# config_file: .github/label-commenter-config.yml
|
||||
|
||||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -9,7 +9,7 @@ jobs:
|
||||
release:
|
||||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v2.3.4
|
||||
|
||||
- name: Dump GitHub context
|
||||
env:
|
||||
|
||||
6
.github/workflows/test-action.yml
vendored
6
.github/workflows/test-action.yml
vendored
@@ -3,6 +3,7 @@ name: Daily Test
|
||||
on:
|
||||
schedule:
|
||||
- cron: '13 13 * * *'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
@@ -12,7 +13,6 @@ jobs:
|
||||
os:
|
||||
- 'ubuntu-20.04'
|
||||
- 'ubuntu-18.04'
|
||||
- 'ubuntu-16.04'
|
||||
- 'macos-latest'
|
||||
- 'windows-latest'
|
||||
hugo-version:
|
||||
@@ -22,10 +22,10 @@ jobs:
|
||||
- true
|
||||
- false
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v2.3.4
|
||||
|
||||
- name: Setup Hugo
|
||||
uses: peaceiris/actions-hugo@v2
|
||||
uses: peaceiris/actions-hugo@v2.4.13
|
||||
with:
|
||||
hugo-version: ${{ matrix.hugo-version }}
|
||||
extended: ${{ matrix.extended }}
|
||||
|
||||
17
.github/workflows/test.yml
vendored
17
.github/workflows/test.yml
vendored
@@ -3,7 +3,7 @@ name: 'Test'
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
paths-ignore:
|
||||
- '**.md'
|
||||
pull_request:
|
||||
@@ -11,31 +11,24 @@ on:
|
||||
- '**.md'
|
||||
|
||||
jobs:
|
||||
skipci:
|
||||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
- run: echo "[skip ci] ${{ contains(github.event.head_commit.message, '[skip ci]') }}"
|
||||
|
||||
test:
|
||||
runs-on: ${{ matrix.os }}
|
||||
if: contains(github.event.head_commit.message, '[skip ci]') == false
|
||||
strategy:
|
||||
matrix:
|
||||
os:
|
||||
- 'ubuntu-20.04'
|
||||
- 'ubuntu-18.04'
|
||||
- 'ubuntu-16.04'
|
||||
- 'macos-latest'
|
||||
- 'windows-latest'
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v2.3.4
|
||||
|
||||
- name: Read .nvmrc
|
||||
run: echo "::set-output name=NVMRC::$(cat .nvmrc)"
|
||||
id: nvm
|
||||
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v2.0.0
|
||||
uses: actions/setup-node@v2.1.5
|
||||
with:
|
||||
node-version: '${{ steps.nvm.outputs.NVMRC }}'
|
||||
|
||||
@@ -62,6 +55,4 @@ jobs:
|
||||
name: coverage-${{ matrix.os }}
|
||||
path: coverage
|
||||
|
||||
- uses: codecov/codecov-action@v1.0.7
|
||||
with:
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
- uses: codecov/codecov-action@v1.5.0
|
||||
|
||||
2
.github/workflows/update-major-tag.yml
vendored
2
.github/workflows/update-major-tag.yml
vendored
@@ -9,7 +9,7 @@ jobs:
|
||||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v2.3.4
|
||||
|
||||
- name: Update major tag
|
||||
if: github.event.release.prerelease == false
|
||||
|
||||
1
.husky/.gitignore
vendored
Normal file
1
.husky/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
_
|
||||
2
.husky/post-merge
Executable file
2
.husky/post-merge
Executable file
@@ -0,0 +1,2 @@
|
||||
npm ci
|
||||
git remote prune origin
|
||||
1
.husky/pre-commit
Executable file
1
.husky/pre-commit
Executable file
@@ -0,0 +1 @@
|
||||
npx lint-staged
|
||||
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"printWidth": 80,
|
||||
"tabWidth": 2,
|
||||
"useTabs": false,
|
||||
"semi": true,
|
||||
"singleQuote": true,
|
||||
"trailingComma": "none",
|
||||
"bracketSpacing": false,
|
||||
"arrowParens": "avoid",
|
||||
"parser": "typescript"
|
||||
}
|
||||
"printWidth": 100,
|
||||
"tabWidth": 2,
|
||||
"useTabs": false,
|
||||
"semi": true,
|
||||
"singleQuote": true,
|
||||
"trailingComma": "none",
|
||||
"bracketSpacing": false,
|
||||
"arrowParens": "avoid",
|
||||
"parser": "typescript"
|
||||
}
|
||||
|
||||
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
@@ -1,3 +1,4 @@
|
||||
{
|
||||
"git.ignoreLimitWarning": true
|
||||
"git.ignoreLimitWarning": true,
|
||||
"deno.enable": false
|
||||
}
|
||||
311
CHANGELOG.md
311
CHANGELOG.md
@@ -2,6 +2,317 @@
|
||||
|
||||
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.
|
||||
|
||||
# [2.5.0](https://github.com/peaceiris/actions-hugo/compare/v2.4.13...v2.5.0) (2021-05-27)
|
||||
|
||||
|
||||
### build
|
||||
|
||||
* Set target to ES2019 (#497) ([a6b1a4c](https://github.com/peaceiris/actions-hugo/commit/a6b1a4cb03657fdabc476d354be1de69c1f2c784)), closes [#497](https://github.com/peaceiris/actions-hugo/issues/497)
|
||||
|
||||
### chore
|
||||
|
||||
* add link to Actions Documentation ([ecc4361](https://github.com/peaceiris/actions-hugo/commit/ecc43610c05bf8bb7339bc9f8f06ebafdaba1fa7))
|
||||
* Add postinstall for husky install ([917a097](https://github.com/peaceiris/actions-hugo/commit/917a09767d1cfbe8ac1827d2da61fbcab8ad4f1e))
|
||||
* fix husky ([c3d5873](https://github.com/peaceiris/actions-hugo/commit/c3d587365f380dd8aa22d5ab9bfb66bcdf1b7d2a))
|
||||
* npx husky install ([d2e1e74](https://github.com/peaceiris/actions-hugo/commit/d2e1e740d08d04e87877506f4446cb5759b3784c))
|
||||
* update husky config ([e77b890](https://github.com/peaceiris/actions-hugo/commit/e77b89094bb7e1c96f3803ad3e510b4075434ee3))
|
||||
* update link to github.community ([35b8c49](https://github.com/peaceiris/actions-hugo/commit/35b8c49468604b403f35fdb315b22a3e3b784eb1))
|
||||
|
||||
### ci
|
||||
|
||||
* allow dependency-type production ([a448002](https://github.com/peaceiris/actions-hugo/commit/a448002cc3932bedf88a9304591e02ee58bd1ced))
|
||||
* bump actions/checkout from 2 to 2.3.4 (#517) ([f245604](https://github.com/peaceiris/actions-hugo/commit/f2456046988c712555be95348c00a5b9c1dc6482)), closes [#517](https://github.com/peaceiris/actions-hugo/issues/517)
|
||||
* bump actions/setup-node from v2.1.2 to v2.1.3 (#479) ([9dea4e7](https://github.com/peaceiris/actions-hugo/commit/9dea4e7496af6b42e3306eb3b6c3321c15184669)), closes [#479](https://github.com/peaceiris/actions-hugo/issues/479)
|
||||
* bump actions/setup-node from v2.1.3 to v2.1.4 (#482) ([ee35d79](https://github.com/peaceiris/actions-hugo/commit/ee35d79f1a6a83d2295f63c1da996b30e027ccf3)), closes [#482](https://github.com/peaceiris/actions-hugo/issues/482)
|
||||
* bump actions/setup-node from v2.1.4 to v2.1.5 (#494) ([31afbc6](https://github.com/peaceiris/actions-hugo/commit/31afbc6b76e82fb797899aeb569b744008ca7d85)), closes [#494](https://github.com/peaceiris/actions-hugo/issues/494)
|
||||
* bump codecov/codecov-action from v1.0.13 to v1.0.14 (#460) ([4d4d52c](https://github.com/peaceiris/actions-hugo/commit/4d4d52c170a99805c8c86297fe9e8c630ff68b1d)), closes [#460](https://github.com/peaceiris/actions-hugo/issues/460)
|
||||
* bump codecov/codecov-action from v1.0.14 to v1.0.15 (#469) ([5560a30](https://github.com/peaceiris/actions-hugo/commit/5560a30c304a6acea63233ec9c73700f7150ae7e)), closes [#469](https://github.com/peaceiris/actions-hugo/issues/469)
|
||||
* bump codecov/codecov-action from v1.0.15 to v1.1.0 (#483) ([781fb44](https://github.com/peaceiris/actions-hugo/commit/781fb448ba019a547fa83cfe413845a856364f27)), closes [#483](https://github.com/peaceiris/actions-hugo/issues/483)
|
||||
* bump codecov/codecov-action from v1.1.0 to v1.1.1 (#485) ([8087db7](https://github.com/peaceiris/actions-hugo/commit/8087db721476005461b4283f77190b68d2c84f04)), closes [#485](https://github.com/peaceiris/actions-hugo/issues/485)
|
||||
* bump codecov/codecov-action from v1.1.1 to v1.2.0 (#487) ([8ed2f1f](https://github.com/peaceiris/actions-hugo/commit/8ed2f1fddd1c2ef4e402bb63eccfe29b809ba3d3)), closes [#487](https://github.com/peaceiris/actions-hugo/issues/487)
|
||||
* bump codecov/codecov-action from v1.2.0 to v1.2.1 (#488) ([f6171a1](https://github.com/peaceiris/actions-hugo/commit/f6171a1916a25e1f3e577308b3ca84fd3d36adb8)), closes [#488](https://github.com/peaceiris/actions-hugo/issues/488)
|
||||
* bump codecov/codecov-action from v1.2.1 to v1.2.2 (#501) ([b7da7a5](https://github.com/peaceiris/actions-hugo/commit/b7da7a5c7fc09e7f20da3571aacc93b19e31a884)), closes [#501](https://github.com/peaceiris/actions-hugo/issues/501)
|
||||
* bump codecov/codecov-action from v1.2.2 to v1.3.1 (#502) ([354ddc2](https://github.com/peaceiris/actions-hugo/commit/354ddc2c0e944651389d0825bddd38c58ed70b96)), closes [#502](https://github.com/peaceiris/actions-hugo/issues/502)
|
||||
* bump codecov/codecov-action from v1.3.1 to v1.3.2 (#506) ([937472e](https://github.com/peaceiris/actions-hugo/commit/937472ef054c627b8b2e5107045d1150659e519a)), closes [#506](https://github.com/peaceiris/actions-hugo/issues/506)
|
||||
* bump codecov/codecov-action from v1.3.2 to v1.4.0 (#511) ([065ff42](https://github.com/peaceiris/actions-hugo/commit/065ff428c585180c45d415b1135cd752949eb087)), closes [#511](https://github.com/peaceiris/actions-hugo/issues/511)
|
||||
* bump codecov/codecov-action from v1.4.0 to v1.4.1 (#512) ([929d18c](https://github.com/peaceiris/actions-hugo/commit/929d18cc521c942da835291cb76bab5babb6ba68)), closes [#512](https://github.com/peaceiris/actions-hugo/issues/512)
|
||||
* bump codecov/codecov-action from v1.4.1 to v1.5.0 (#514) ([634c0f2](https://github.com/peaceiris/actions-hugo/commit/634c0f28919c4ed0c99c7b830a780bab33530fd9)), closes [#514](https://github.com/peaceiris/actions-hugo/issues/514)
|
||||
* bump peaceiris/actions-hugo from 2 to 2.4.13 (#516) ([b843eae](https://github.com/peaceiris/actions-hugo/commit/b843eaee1d20f88acb7efec2004c1c1b250bbc37)), closes [#516](https://github.com/peaceiris/actions-hugo/issues/516)
|
||||
* bump peaceiris/actions-label-commenter from v1.6.1 to v1.7.0 (#475) ([7e706f1](https://github.com/peaceiris/actions-hugo/commit/7e706f138412fc25628776aba7ed982c2ecce77b)), closes [#475](https://github.com/peaceiris/actions-hugo/issues/475)
|
||||
* bump peaceiris/actions-label-commenter from v1.7.0 to v1.8.0 (#476) ([fc61cde](https://github.com/peaceiris/actions-hugo/commit/fc61cdeb0558a7e59e2faa6df595b789f91251dd)), closes [#476](https://github.com/peaceiris/actions-hugo/issues/476)
|
||||
* bump peaceiris/actions-label-commenter from v1.8.0 to v1.8.1 (#477) ([d2c234c](https://github.com/peaceiris/actions-hugo/commit/d2c234c93b647f937a85b7ca69f1af403e33eb52)), closes [#477](https://github.com/peaceiris/actions-hugo/issues/477)
|
||||
* bump peaceiris/actions-label-commenter from v1.8.1 to v1.8.2 (#478) ([9dc9001](https://github.com/peaceiris/actions-hugo/commit/9dc9001ec24de7b806c7585c6c5d1128fa536135)), closes [#478](https://github.com/peaceiris/actions-hugo/issues/478)
|
||||
* bump peaceiris/actions-label-commenter from v1.8.2 to v1.9.0 (#484) ([e4d3e17](https://github.com/peaceiris/actions-hugo/commit/e4d3e173c5addc432fd0bd982184a69e24961c72)), closes [#484](https://github.com/peaceiris/actions-hugo/issues/484)
|
||||
* bump peaceiris/actions-label-commenter from v1.9.0 to v1.9.1 (#493) ([638ebc3](https://github.com/peaceiris/actions-hugo/commit/638ebc39d8a766ab0d12a9124054051d1b31d7a1)), closes [#493](https://github.com/peaceiris/actions-hugo/issues/493)
|
||||
* Drop ubuntu-16.04 (#513) ([6b42ea1](https://github.com/peaceiris/actions-hugo/commit/6b42ea1676602f31267ebd3466784cd813863ef7)), closes [#513](https://github.com/peaceiris/actions-hugo/issues/513)
|
||||
* Fix husky post-merge ([4f6ebdd](https://github.com/peaceiris/actions-hugo/commit/4f6ebdd7670cb3d0b3d9c574d9c11788b57006b3))
|
||||
* Fix husky post-merge (#491) ([029d5ce](https://github.com/peaceiris/actions-hugo/commit/029d5ce0d047998a61ed87b48b7d11396109376e)), closes [#491](https://github.com/peaceiris/actions-hugo/issues/491)
|
||||
* Migrate husky from v4 to v5 ([9564982](https://github.com/peaceiris/actions-hugo/commit/9564982d194bfb3b965d21d80c8903dbd328cdc6))
|
||||
* remove CODECOV_TOKEN (#490) ([b2b9041](https://github.com/peaceiris/actions-hugo/commit/b2b9041dc7d472875c86939648440bcc2afad6c4)), closes [#490](https://github.com/peaceiris/actions-hugo/issues/490)
|
||||
* remove options no longer needed (#474) ([ff64ad3](https://github.com/peaceiris/actions-hugo/commit/ff64ad3cd40de5c81409ba2f937b47ab573905c2)), closes [#474](https://github.com/peaceiris/actions-hugo/issues/474)
|
||||
* Remove skipci job ([da35efe](https://github.com/peaceiris/actions-hugo/commit/da35efefa826a63d06a9d2642ac18d7ce312eed0))
|
||||
|
||||
### deps
|
||||
|
||||
* bump @actions/core from 1.2.6 to 1.2.7 (#507) ([b263ea9](https://github.com/peaceiris/actions-hugo/commit/b263ea9e10ee728a536db434c3e1babbb6bb3018)), closes [#507](https://github.com/peaceiris/actions-hugo/issues/507)
|
||||
* bump @actions/io from 1.0.2 to 1.1.0 (#505) ([d2d1138](https://github.com/peaceiris/actions-hugo/commit/d2d11383067fa9ee8a84783edc89a133fd841695)), closes [#505](https://github.com/peaceiris/actions-hugo/issues/505)
|
||||
* bump @actions/tool-cache from 1.6.0 to 1.6.1 (#468) ([bad2722](https://github.com/peaceiris/actions-hugo/commit/bad27227bf688526565c17d3991a6bb07da351f9)), closes [#468](https://github.com/peaceiris/actions-hugo/issues/468)
|
||||
* bump @types/node from 12.12.63 to 12.12.64 (#454) ([8bb474e](https://github.com/peaceiris/actions-hugo/commit/8bb474e6f039d3c0554a1c447715f9afd0990671)), closes [#454](https://github.com/peaceiris/actions-hugo/issues/454)
|
||||
* bump @types/node from 12.12.64 to 12.12.66 (#455) ([0c241c1](https://github.com/peaceiris/actions-hugo/commit/0c241c131a7ac06e0ca15d1de99a12dd627025a1)), closes [#455](https://github.com/peaceiris/actions-hugo/issues/455)
|
||||
* bump @types/node from 12.12.66 to 12.12.67 (#457) ([57c1213](https://github.com/peaceiris/actions-hugo/commit/57c12138971d301923f23b4f3009e6aa5d5439d0)), closes [#457](https://github.com/peaceiris/actions-hugo/issues/457)
|
||||
* bump ini from 1.3.5 to 1.3.8 (#480) ([beaa1ee](https://github.com/peaceiris/actions-hugo/commit/beaa1ee2a1492de7430bac2238e29e8ff4950ee3)), closes [#480](https://github.com/peaceiris/actions-hugo/issues/480)
|
||||
* bump jest-circus from 26.5.1 to 26.5.2 (#453) ([2b3e82c](https://github.com/peaceiris/actions-hugo/commit/2b3e82c924f5a8189be9b0db3c2fa4c88fc6093f)), closes [#453](https://github.com/peaceiris/actions-hugo/issues/453)
|
||||
* bump jest-circus from 26.5.2 to 26.5.3 (#456) ([7e8c2a0](https://github.com/peaceiris/actions-hugo/commit/7e8c2a08b40a6e0fcec415033ab6cbe45bb6eb76)), closes [#456](https://github.com/peaceiris/actions-hugo/issues/456)
|
||||
* bump node from 12.18.4 to 12.19.0 (#458) ([d183b58](https://github.com/peaceiris/actions-hugo/commit/d183b58fee71c13b2d63864067b2129ad91d4b9a)), closes [#458](https://github.com/peaceiris/actions-hugo/issues/458)
|
||||
* bump node from 12.19.0 to 12.19.1 (#471) ([21d2e6e](https://github.com/peaceiris/actions-hugo/commit/21d2e6ea580812d56a69582f9d57dca65ee9b96c)), closes [#471](https://github.com/peaceiris/actions-hugo/issues/471) [#472](https://github.com/peaceiris/actions-hugo/issues/472)
|
||||
* bump node from 12.19.1 to 12.20.0 ([8808a28](https://github.com/peaceiris/actions-hugo/commit/8808a28020ccea48f350ea3099e99ea610fd2b15))
|
||||
* bump node from 12.20.0 to 12.20.1 (#489) ([10834f4](https://github.com/peaceiris/actions-hugo/commit/10834f4404ee13ef757d5fa80317d3cdc85b9c5f)), closes [#489](https://github.com/peaceiris/actions-hugo/issues/489)
|
||||
* bump node from 12.20.1 to 12.21.0 (#500) ([da36599](https://github.com/peaceiris/actions-hugo/commit/da36599fbf30f21edf7f0cb53689cbdcc25a2ef8)), closes [#500](https://github.com/peaceiris/actions-hugo/issues/500)
|
||||
* Bump node from 12.21.0 to 12.22.0 (#503) ([5d548aa](https://github.com/peaceiris/actions-hugo/commit/5d548aa7b61b9b09310447cdd8709fb466653fbb)), closes [#503](https://github.com/peaceiris/actions-hugo/issues/503)
|
||||
* Bump node from 12.22.0 to 12.22.1 (#510) ([b674697](https://github.com/peaceiris/actions-hugo/commit/b67469730cda7ba4581ae824283ce8bb5e8f990b)), closes [#510](https://github.com/peaceiris/actions-hugo/issues/510)
|
||||
* bump node-notifier from 8.0.0 to 8.0.1 (#486) ([206a218](https://github.com/peaceiris/actions-hugo/commit/206a21899a688eed53406e4f6631c751b51e513f)), closes [#486](https://github.com/peaceiris/actions-hugo/issues/486)
|
||||
* Bump npm to v7 ([612b00f](https://github.com/peaceiris/actions-hugo/commit/612b00fe8fa8da50a91bf0fa58b67f5925ae2d0f))
|
||||
* npm audit fix ([f3792d9](https://github.com/peaceiris/actions-hugo/commit/f3792d95d87de9180705d1d1df33775d430215f1))
|
||||
* update (#459) ([a533681](https://github.com/peaceiris/actions-hugo/commit/a5336818dfd0400855e4e9856510a54c11dd33b0)), closes [#459](https://github.com/peaceiris/actions-hugo/issues/459)
|
||||
* update dev deps (#462) ([0df2d42](https://github.com/peaceiris/actions-hugo/commit/0df2d4252f179fa015364acdffa8b85453ddac8d)), closes [#462](https://github.com/peaceiris/actions-hugo/issues/462)
|
||||
* update devDependencies (#466) ([d2b6644](https://github.com/peaceiris/actions-hugo/commit/d2b6644a8068056eb31d292277fd01fe9d50438c)), closes [#466](https://github.com/peaceiris/actions-hugo/issues/466)
|
||||
* update devDependencies (#492) ([32f5b71](https://github.com/peaceiris/actions-hugo/commit/32f5b71c41c0ee8e154160a00a90dd345ed71168)), closes [#492](https://github.com/peaceiris/actions-hugo/issues/492)
|
||||
* update devDependencies (#498) ([9f50a3c](https://github.com/peaceiris/actions-hugo/commit/9f50a3c912f8d1b5be9d4ee06fb2e1e893ab0d20)), closes [#498](https://github.com/peaceiris/actions-hugo/issues/498)
|
||||
|
||||
### docs
|
||||
|
||||
* Add Non-ascii Filename section (#499) ([0590f91](https://github.com/peaceiris/actions-hugo/commit/0590f912fcce9b0c257424efc5e79075a0a88a0c)), closes [#499](https://github.com/peaceiris/actions-hugo/issues/499)
|
||||
* Add pull_request event ([65bdbf1](https://github.com/peaceiris/actions-hugo/commit/65bdbf15ab5818f14c718f27d5c769dc1a4fb32b))
|
||||
* Bump actions/setup-node from v1 to v2 ([e53f8d6](https://github.com/peaceiris/actions-hugo/commit/e53f8d69e59fe9a25e6f3c24717cfd0d51b57b0b))
|
||||
* Bump hugo from 0.79.1 to 0.81.0 ([fbae6cf](https://github.com/peaceiris/actions-hugo/commit/fbae6cf1c897ef7ec3e69991eee81e57e57e4898))
|
||||
* bump versions ([b0fb91b](https://github.com/peaceiris/actions-hugo/commit/b0fb91bc02638e5ca8f0139c91cbff931167f7a7))
|
||||
* update title position ([a7dd109](https://github.com/peaceiris/actions-hugo/commit/a7dd10985c1e5f8029577517cff546202a3b6e5f))
|
||||
|
||||
### feat
|
||||
|
||||
* Add support for different processor architectures (#518) ([6d30a88](https://github.com/peaceiris/actions-hugo/commit/6d30a88741382c063b723b98b1bad3a71b248f1b)), closes [#518](https://github.com/peaceiris/actions-hugo/issues/518)
|
||||
|
||||
|
||||
|
||||
## [2.4.13](https://github.com/peaceiris/actions-hugo/compare/v2.4.12...v2.4.13) (2020-10-06)
|
||||
|
||||
|
||||
### chore
|
||||
|
||||
* change default branch from master to main (#386) ([da2d546](https://github.com/peaceiris/actions-hugo/commit/da2d5466d39aab034669dc2701c6cf17e25082d0)), closes [#386](https://github.com/peaceiris/actions-hugo/issues/386)
|
||||
* change printWidth from 80 to 100 (#365) ([8bff475](https://github.com/peaceiris/actions-hugo/commit/8bff475612e4668972f3cf13bf8ffe48a6da31a3)), closes [#365](https://github.com/peaceiris/actions-hugo/issues/365)
|
||||
* disable deno on vscode (#388) ([71327d4](https://github.com/peaceiris/actions-hugo/commit/71327d464610fe5163689864e5b68d2fb4ceb776)), closes [#388](https://github.com/peaceiris/actions-hugo/issues/388)
|
||||
* fix link to GitHub Actions Community Forum ([919a5f9](https://github.com/peaceiris/actions-hugo/commit/919a5f9b0bd1b53e8bcabd4f014f46d01ea3e5cb))
|
||||
|
||||
### ci
|
||||
|
||||
* add codeql workflow ([2fa902b](https://github.com/peaceiris/actions-hugo/commit/2fa902b35f172f555ee4764fb8f35f350058907a))
|
||||
* add workflow_dispatch ([1eeaa0e](https://github.com/peaceiris/actions-hugo/commit/1eeaa0edab53b2141fa624e108430359a2e88ddd))
|
||||
* bump actions/setup-node from v2.0.0 to v2.1.0 (#371) ([d59d21e](https://github.com/peaceiris/actions-hugo/commit/d59d21e63364d8b9aa822370f3ebc8c2261d69db)), closes [#371](https://github.com/peaceiris/actions-hugo/issues/371)
|
||||
* bump actions/setup-node from v2.1.0 to v2.1.1 (#392) ([316ab5f](https://github.com/peaceiris/actions-hugo/commit/316ab5f3800f1b485387c80cd13c9507cda1303b)), closes [#392](https://github.com/peaceiris/actions-hugo/issues/392)
|
||||
* bump actions/setup-node from v2.1.1 to v2.1.2 (#449) ([d13e210](https://github.com/peaceiris/actions-hugo/commit/d13e210741153eccc070e1eeb9c1f2d3526c0e6c)), closes [#449](https://github.com/peaceiris/actions-hugo/issues/449)
|
||||
* bump codecov/codecov-action from v1.0.10 to v1.0.11 (#389) ([76e5f6f](https://github.com/peaceiris/actions-hugo/commit/76e5f6f1f3c2f6a2b52209bf45ff6fb647a7dfd2)), closes [#389](https://github.com/peaceiris/actions-hugo/issues/389)
|
||||
* bump codecov/codecov-action from v1.0.11 to v1.0.12 (#393) ([f8104a9](https://github.com/peaceiris/actions-hugo/commit/f8104a9bdbcb58df14a6806b56f7efdf52f923f6)), closes [#393](https://github.com/peaceiris/actions-hugo/issues/393)
|
||||
* bump codecov/codecov-action from v1.0.12 to v1.0.13 (#414) ([c230bfd](https://github.com/peaceiris/actions-hugo/commit/c230bfdf9987fa980cf88815a8bdaf8263b524d1)), closes [#414](https://github.com/peaceiris/actions-hugo/issues/414)
|
||||
* bump codecov/codecov-action from v1.0.7 to v1.0.10 (#373) ([00ad573](https://github.com/peaceiris/actions-hugo/commit/00ad5734ffe779107015e871a2119a3d0a39dabf)), closes [#373](https://github.com/peaceiris/actions-hugo/issues/373)
|
||||
* bump peaceiris/actions-label-commenter from v1 to v1.3.7 (#364) ([be37873](https://github.com/peaceiris/actions-hugo/commit/be3787356a00883bf4555fe5bfc7d96399badaf1)), closes [#364](https://github.com/peaceiris/actions-hugo/issues/364)
|
||||
* bump peaceiris/actions-label-commenter from v1.3.7 to v1.5.0 (#406) ([baf4896](https://github.com/peaceiris/actions-hugo/commit/baf489601c45dddea57fec27266aebb925e8f59e)), closes [#406](https://github.com/peaceiris/actions-hugo/issues/406)
|
||||
* bump peaceiris/actions-label-commenter from v1.5.0 to v1.6.0 (#434) ([3120b3d](https://github.com/peaceiris/actions-hugo/commit/3120b3dd8cded1491ca95f260d3e9453e83a3569)), closes [#434](https://github.com/peaceiris/actions-hugo/issues/434)
|
||||
* bump peaceiris/actions-label-commenter from v1.6.0 to v1.6.1 (#437) ([22a5584](https://github.com/peaceiris/actions-hugo/commit/22a55848e80df28d2847fdbb1689faae37a08a29)), closes [#437](https://github.com/peaceiris/actions-hugo/issues/437)
|
||||
* remove open-pull-requests-limit ([53a8986](https://github.com/peaceiris/actions-hugo/commit/53a8986af5a407ed9b889581cd97b72795d44619))
|
||||
|
||||
### deps
|
||||
|
||||
* bump @actions/core from 1.2.4 to 1.2.5 (#422) ([5825c93](https://github.com/peaceiris/actions-hugo/commit/5825c9307b65034c724a21f02fb1697c12738846)), closes [#422](https://github.com/peaceiris/actions-hugo/issues/422)
|
||||
* bump @actions/core from 1.2.5 to 1.2.6 (#448) ([33a289a](https://github.com/peaceiris/actions-hugo/commit/33a289a0d5de244428f483056fcc356281b21bb5)), closes [#448](https://github.com/peaceiris/actions-hugo/issues/448)
|
||||
* bump @actions/tool-cache from 1.5.5 to 1.6.0 (#383) ([3f02ff7](https://github.com/peaceiris/actions-hugo/commit/3f02ff7a9e8c09b32b229a513855dfea3469b586)), closes [#383](https://github.com/peaceiris/actions-hugo/issues/383)
|
||||
* bump @types/jest from 26.0.0 to 26.0.3 (#369) ([f42b985](https://github.com/peaceiris/actions-hugo/commit/f42b9853d37d1c2b67960f92c4f1467f105d9050)), closes [#369](https://github.com/peaceiris/actions-hugo/issues/369)
|
||||
* bump @types/jest from 26.0.10 to 26.0.12 (#425) ([6b13193](https://github.com/peaceiris/actions-hugo/commit/6b131935e45ad0d1ec561c2fc3bb43dba781978c)), closes [#425](https://github.com/peaceiris/actions-hugo/issues/425)
|
||||
* bump @types/jest from 26.0.12 to 26.0.13 (#427) ([b59871c](https://github.com/peaceiris/actions-hugo/commit/b59871c37d97cbbb3ad6b14b5efb20134367a886)), closes [#427](https://github.com/peaceiris/actions-hugo/issues/427)
|
||||
* bump @types/jest from 26.0.13 to 26.0.14 (#442) ([3317f5e](https://github.com/peaceiris/actions-hugo/commit/3317f5e6cdcbc51c69a4c9eb9fceb445a78f08ad)), closes [#442](https://github.com/peaceiris/actions-hugo/issues/442)
|
||||
* bump @types/jest from 26.0.3 to 26.0.4 (#378) ([16d8ce1](https://github.com/peaceiris/actions-hugo/commit/16d8ce1cd5912320ea2cac7bae2040fcc49fdc71)), closes [#378](https://github.com/peaceiris/actions-hugo/issues/378)
|
||||
* bump @types/jest from 26.0.4 to 26.0.5 (#390) ([b7fbea4](https://github.com/peaceiris/actions-hugo/commit/b7fbea4c342a48c1ab8f134904b6bf08e1a8778c)), closes [#390](https://github.com/peaceiris/actions-hugo/issues/390)
|
||||
* bump @types/jest from 26.0.5 to 26.0.7 (#394) ([be3e1cc](https://github.com/peaceiris/actions-hugo/commit/be3e1ccca2b306b40d88010110f71697a24ab5ea)), closes [#394](https://github.com/peaceiris/actions-hugo/issues/394)
|
||||
* bump @types/jest from 26.0.7 to 26.0.8 (#405) ([7753141](https://github.com/peaceiris/actions-hugo/commit/77531419b598596623841e82209ed5248c48dd57)), closes [#405](https://github.com/peaceiris/actions-hugo/issues/405)
|
||||
* bump @types/jest from 26.0.8 to 26.0.9 (#407) ([77557cc](https://github.com/peaceiris/actions-hugo/commit/77557cc3914eee0b1f7032fb817b254d0f058349)), closes [#407](https://github.com/peaceiris/actions-hugo/issues/407)
|
||||
* bump @types/jest from 26.0.9 to 26.0.10 (#412) ([6ec44a7](https://github.com/peaceiris/actions-hugo/commit/6ec44a730389338c62ba4c4ef5e1852434143313)), closes [#412](https://github.com/peaceiris/actions-hugo/issues/412)
|
||||
* bump @types/node from 12.12.47 to 12.12.48 (#379) ([1835230](https://github.com/peaceiris/actions-hugo/commit/1835230a2b35e8911a4bb269dec0288e382a71b7)), closes [#379](https://github.com/peaceiris/actions-hugo/issues/379)
|
||||
* bump @types/node from 12.12.48 to 12.12.50 (#381) ([cf40bc8](https://github.com/peaceiris/actions-hugo/commit/cf40bc8ca5e14cd0ec57951a98733f086bbcfa16)), closes [#381](https://github.com/peaceiris/actions-hugo/issues/381)
|
||||
* bump @types/node from 12.12.50 to 12.12.51 (#391) ([64f9c36](https://github.com/peaceiris/actions-hugo/commit/64f9c36d5ec62f7959fe8b3043824439ace7cde4)), closes [#391](https://github.com/peaceiris/actions-hugo/issues/391)
|
||||
* bump @types/node from 12.12.51 to 12.12.52 (#395) ([beefbb4](https://github.com/peaceiris/actions-hugo/commit/beefbb44e1de5739a9b1dd7bbc10d1606f9866f6)), closes [#395](https://github.com/peaceiris/actions-hugo/issues/395)
|
||||
* bump @types/node from 12.12.52 to 12.12.53 (#396) ([67dcb24](https://github.com/peaceiris/actions-hugo/commit/67dcb244d0ca45c57445c2fb646552b1cf03c65c)), closes [#396](https://github.com/peaceiris/actions-hugo/issues/396)
|
||||
* bump @types/node from 12.12.53 to 12.12.54 (#408) ([bfac474](https://github.com/peaceiris/actions-hugo/commit/bfac4748b6753a66efa47642234fc23d92c74334)), closes [#408](https://github.com/peaceiris/actions-hugo/issues/408)
|
||||
* bump @types/node from 12.12.54 to 12.12.55 (#426) ([e7fbc0b](https://github.com/peaceiris/actions-hugo/commit/e7fbc0b5dad38548f6a1cab00814f07b63f21806)), closes [#426](https://github.com/peaceiris/actions-hugo/issues/426)
|
||||
* bump @types/node from 12.12.55 to 12.12.56 (#432) ([79ed21e](https://github.com/peaceiris/actions-hugo/commit/79ed21ee9b1e2b96609fad1b17645284c8a339d3)), closes [#432](https://github.com/peaceiris/actions-hugo/issues/432)
|
||||
* bump @types/node from 12.12.56 to 12.12.57 (#433) ([4b04428](https://github.com/peaceiris/actions-hugo/commit/4b04428f53d215bc618147869807115d6ed825df)), closes [#433](https://github.com/peaceiris/actions-hugo/issues/433)
|
||||
* bump @types/node from 12.12.57 to 12.12.58 (#436) ([f0e8386](https://github.com/peaceiris/actions-hugo/commit/f0e838658fd4fea293ab1875dd0c02f7d89599f1)), closes [#436](https://github.com/peaceiris/actions-hugo/issues/436)
|
||||
* bump @types/node from 12.12.58 to 12.12.59 (#441) ([873c0ab](https://github.com/peaceiris/actions-hugo/commit/873c0ab6caaa6d57841d9a749e0183f4ade7e035)), closes [#441](https://github.com/peaceiris/actions-hugo/issues/441)
|
||||
* bump @types/node from 12.12.59 to 12.12.61 (#443) ([5e135f6](https://github.com/peaceiris/actions-hugo/commit/5e135f617c2558ff55cca069e94b283e0399834d)), closes [#443](https://github.com/peaceiris/actions-hugo/issues/443)
|
||||
* bump @types/node from 12.12.61 to 12.12.62 (#445) ([267b3f1](https://github.com/peaceiris/actions-hugo/commit/267b3f1c66006dcdc3a7db3d4e3def0a08a1459c)), closes [#445](https://github.com/peaceiris/actions-hugo/issues/445)
|
||||
* bump @types/node from 12.12.62 to 12.12.63 (#451) ([cd215c4](https://github.com/peaceiris/actions-hugo/commit/cd215c4ce492dcca194a5b75f694eeef53dd09c2)), closes [#451](https://github.com/peaceiris/actions-hugo/issues/451)
|
||||
* bump @vercel/ncc from 0.23.0 to 0.24.0 (#424) ([5b3d1ee](https://github.com/peaceiris/actions-hugo/commit/5b3d1ee00716bbabf4b3209c6005152d4379a29f)), closes [#424](https://github.com/peaceiris/actions-hugo/issues/424)
|
||||
* bump @vercel/ncc from 0.24.0 to 0.24.1 (#438) ([802b595](https://github.com/peaceiris/actions-hugo/commit/802b5950937d77eb06be7ba586ed59425b72ed8d)), closes [#438](https://github.com/peaceiris/actions-hugo/issues/438)
|
||||
* bump eslint-plugin-jest from 23.13.2 to 23.16.0 (#366) ([9f4ef01](https://github.com/peaceiris/actions-hugo/commit/9f4ef016d64fc31a87ea56518d6cf1f92c8cb0a2)), closes [#366](https://github.com/peaceiris/actions-hugo/issues/366)
|
||||
* bump eslint-plugin-jest from 23.16.0 to 23.17.1 (#368) ([638096b](https://github.com/peaceiris/actions-hugo/commit/638096b27ff13e63f4f90e4d5bf05e814edcebcc)), closes [#368](https://github.com/peaceiris/actions-hugo/issues/368)
|
||||
* bump eslint-plugin-jest from 23.17.1 to 23.18.0 (#377) ([f1c7ecd](https://github.com/peaceiris/actions-hugo/commit/f1c7ecda6150ba2c6dbbce39119d6f5b0ad723bf)), closes [#377](https://github.com/peaceiris/actions-hugo/issues/377)
|
||||
* bump eslint-plugin-jest from 23.18.0 to 23.18.2 (#397) ([2acd7a4](https://github.com/peaceiris/actions-hugo/commit/2acd7a45c87d54f0d53e7929649160f728cc4f74)), closes [#397](https://github.com/peaceiris/actions-hugo/issues/397)
|
||||
* bump eslint-plugin-jest from 23.18.2 to 23.19.0 (#400) ([5a7d3a7](https://github.com/peaceiris/actions-hugo/commit/5a7d3a75068f8dddac3aaa407896f38a7109e347)), closes [#400](https://github.com/peaceiris/actions-hugo/issues/400)
|
||||
* bump eslint-plugin-jest from 23.19.0 to 23.20.0 (#401) ([32ec0a2](https://github.com/peaceiris/actions-hugo/commit/32ec0a285c6a0dd4f2df66f9851f319f1fbd8abe)), closes [#401](https://github.com/peaceiris/actions-hugo/issues/401)
|
||||
* bump git from 2.27.0 to 2.28.0 (#398) ([61b002f](https://github.com/peaceiris/actions-hugo/commit/61b002f4ffb3492723a32a2d9539df503c9776c1)), closes [#398](https://github.com/peaceiris/actions-hugo/issues/398)
|
||||
* bump husky from 4.2.5 to 4.3.0 (#431) ([4c60b23](https://github.com/peaceiris/actions-hugo/commit/4c60b233f21cff00faffa17a99bd07c924e19efd)), closes [#431](https://github.com/peaceiris/actions-hugo/issues/431)
|
||||
* bump jest-circus from 26.0.1 to 26.1.0 (#367) ([838268a](https://github.com/peaceiris/actions-hugo/commit/838268abaf30b5c3b2e0cd5ce852fd870498f45f)), closes [#367](https://github.com/peaceiris/actions-hugo/issues/367)
|
||||
* bump jest-circus from 26.1.0 to 26.2.1 (#402) ([d1ebf3f](https://github.com/peaceiris/actions-hugo/commit/d1ebf3fd0d7cf76c277b7c1d8c7839858002a9cc)), closes [#402](https://github.com/peaceiris/actions-hugo/issues/402)
|
||||
* bump jest-circus from 26.2.1 to 26.2.2 (#404) ([e45313c](https://github.com/peaceiris/actions-hugo/commit/e45313c6a1dc39551c2fdbb4bee2f4b8ccbe95a1)), closes [#404](https://github.com/peaceiris/actions-hugo/issues/404)
|
||||
* bump jest-circus from 26.2.2 to 26.3.0 (#409) ([6c93ce5](https://github.com/peaceiris/actions-hugo/commit/6c93ce5fefba5bc01d294f4d82d61f593fbf789f)), closes [#409](https://github.com/peaceiris/actions-hugo/issues/409)
|
||||
* bump jest-circus from 26.3.0 to 26.4.0 (#411) ([997c3c8](https://github.com/peaceiris/actions-hugo/commit/997c3c888aa18613298ce0e513eea735f20f79ed)), closes [#411](https://github.com/peaceiris/actions-hugo/issues/411)
|
||||
* bump jest-circus from 26.4.0 to 26.4.1 (#415) ([e0b4d02](https://github.com/peaceiris/actions-hugo/commit/e0b4d029a23577852cd59f4b1d23c1d1d699e266)), closes [#415](https://github.com/peaceiris/actions-hugo/issues/415)
|
||||
* bump jest-circus from 26.4.1 to 26.4.2 (#417) ([caf4dd6](https://github.com/peaceiris/actions-hugo/commit/caf4dd6aaebf0047f62f6a9957fc95db56c0fa03)), closes [#417](https://github.com/peaceiris/actions-hugo/issues/417)
|
||||
* bump jest-circus from 26.4.2 to 26.5.1 (#452) ([88b26ab](https://github.com/peaceiris/actions-hugo/commit/88b26abfee0c22c81cafe781cc7e3693114f9395)), closes [#452](https://github.com/peaceiris/actions-hugo/issues/452)
|
||||
* bump lint-staged from 10.2.11 to 10.2.13 (#421) ([b0f29e7](https://github.com/peaceiris/actions-hugo/commit/b0f29e7edec0ad7fe12d4b9434826e4a96477569)), closes [#421](https://github.com/peaceiris/actions-hugo/issues/421)
|
||||
* bump lint-staged from 10.2.13 to 10.3.0 (#428) ([4e17872](https://github.com/peaceiris/actions-hugo/commit/4e17872cd1999a77ff3faef0a282c3ded0b28b3c)), closes [#428](https://github.com/peaceiris/actions-hugo/issues/428)
|
||||
* bump lint-staged from 10.3.0 to 10.4.0 (#444) ([3c58869](https://github.com/peaceiris/actions-hugo/commit/3c588690f52351f1370705f9a5f1c63aed991de3)), closes [#444](https://github.com/peaceiris/actions-hugo/issues/444)
|
||||
* bump lodash from 4.17.15 to 4.17.19 (#385) ([71f80af](https://github.com/peaceiris/actions-hugo/commit/71f80aff9fddceefe3b6992d8c6956af13d5727e)), closes [#385](https://github.com/peaceiris/actions-hugo/issues/385)
|
||||
* bump nock from 12.0.3 to 13.0.0 (#370) ([e4507ca](https://github.com/peaceiris/actions-hugo/commit/e4507caf0b86e8bac1307a239121c70bd62939bd)), closes [#370](https://github.com/peaceiris/actions-hugo/issues/370)
|
||||
* bump nock from 13.0.0 to 13.0.1 (#372) ([45f920d](https://github.com/peaceiris/actions-hugo/commit/45f920d29b694bdae5abae2ca5e8e4a0c7ba485f)), closes [#372](https://github.com/peaceiris/actions-hugo/issues/372)
|
||||
* bump nock from 13.0.1 to 13.0.2 (#375) ([eb88818](https://github.com/peaceiris/actions-hugo/commit/eb88818df93189cd54c302fdc18a2c6e876ab08e)), closes [#375](https://github.com/peaceiris/actions-hugo/issues/375)
|
||||
* bump nock from 13.0.2 to 13.0.3 (#399) ([1f22e6c](https://github.com/peaceiris/actions-hugo/commit/1f22e6c5e634fdfb21daa12d295feac44d428630)), closes [#399](https://github.com/peaceiris/actions-hugo/issues/399)
|
||||
* bump nock from 13.0.3 to 13.0.4 (#410) ([a6baa39](https://github.com/peaceiris/actions-hugo/commit/a6baa39988b85528fd574be8e232a06f72c397b5)), closes [#410](https://github.com/peaceiris/actions-hugo/issues/410)
|
||||
* bump node from 12.18.1 to 12.18.2 (#376) ([96f56de](https://github.com/peaceiris/actions-hugo/commit/96f56dee02dd507288dcd0d32b1aabceda20a532)), closes [#376](https://github.com/peaceiris/actions-hugo/issues/376)
|
||||
* bump node from 12.18.2 to 12.18.3 ([ca4532b](https://github.com/peaceiris/actions-hugo/commit/ca4532b6bc8a7a24dd2f638a848293cfef749689))
|
||||
* bump node from 12.18.3 to 12.18.4 (#446) ([01cbeb8](https://github.com/peaceiris/actions-hugo/commit/01cbeb899ce86671ad0d046f1c1dbc9d716bf993)), closes [#446](https://github.com/peaceiris/actions-hugo/issues/446)
|
||||
* bump node-fetch from 2.6.0 to 2.6.1 (#430) ([bcbb69d](https://github.com/peaceiris/actions-hugo/commit/bcbb69dfa4370721c165c579cf4b3482ff90516d)), closes [#430](https://github.com/peaceiris/actions-hugo/issues/430)
|
||||
* bump prettier from 2.0.5 to 2.1.0 (#420) ([b94c20b](https://github.com/peaceiris/actions-hugo/commit/b94c20b65d1926fb5cb0534acfa17b7df493dd01)), closes [#420](https://github.com/peaceiris/actions-hugo/issues/420)
|
||||
* bump prettier from 2.1.0 to 2.1.1 (#423) ([5a94243](https://github.com/peaceiris/actions-hugo/commit/5a94243d0517bf420266d6ffb22242a01b78bf57)), closes [#423](https://github.com/peaceiris/actions-hugo/issues/423)
|
||||
* bump prettier from 2.1.1 to 2.1.2 (#440) ([fe1c07b](https://github.com/peaceiris/actions-hugo/commit/fe1c07bf2734c9b8a15afb63935b1017386a1a4d)), closes [#440](https://github.com/peaceiris/actions-hugo/issues/440)
|
||||
* bump standard-version from 8.0.0 to 8.0.1 (#380) ([c83f108](https://github.com/peaceiris/actions-hugo/commit/c83f10804ea39b937ad407c2d32fdbbf4fd4c33a)), closes [#380](https://github.com/peaceiris/actions-hugo/issues/380)
|
||||
* bump standard-version from 8.0.1 to 8.0.2 (#382) ([483f8d1](https://github.com/peaceiris/actions-hugo/commit/483f8d1e3415ac3bf8da95136807f5f1649a9b14)), closes [#382](https://github.com/peaceiris/actions-hugo/issues/382)
|
||||
* bump standard-version from 8.0.2 to 9.0.0 (#413) ([444111b](https://github.com/peaceiris/actions-hugo/commit/444111b78ca0f838547e0d52086bd7ec6b4b99ad)), closes [#413](https://github.com/peaceiris/actions-hugo/issues/413)
|
||||
* bump typescript from 3.9.5 to 3.9.6 (#374) ([863939f](https://github.com/peaceiris/actions-hugo/commit/863939f1a75eefbae6e227e72b90de2a2e96852c)), closes [#374](https://github.com/peaceiris/actions-hugo/issues/374)
|
||||
* bump typescript from 3.9.6 to 3.9.7 (#384) ([87ff7f6](https://github.com/peaceiris/actions-hugo/commit/87ff7f6586ac91744342582f9c3030f0c4b72248)), closes [#384](https://github.com/peaceiris/actions-hugo/issues/384)
|
||||
* change @zeit/ncc to @vercel/ncc (#416) ([aba4ae3](https://github.com/peaceiris/actions-hugo/commit/aba4ae31955192d3944543150f99cf2e9365a1aa)), closes [#416](https://github.com/peaceiris/actions-hugo/issues/416)
|
||||
|
||||
### docs
|
||||
|
||||
* Add Caching Hugo Modules ([18a809e](https://github.com/peaceiris/actions-hugo/commit/18a809e6c96de4cb534ad52f31dfe28ef32bd7d5))
|
||||
* Add Code Scanning workflow badge ([3462f4d](https://github.com/peaceiris/actions-hugo/commit/3462f4d33fccdc8d712508ddddcebaa8ef5384df))
|
||||
* add full docker image ([4245d14](https://github.com/peaceiris/actions-hugo/commit/4245d148471b602b24f602d8634fb289fe74ca90))
|
||||
* add note about branch to deploy (#419) ([71168fa](https://github.com/peaceiris/actions-hugo/commit/71168fab79f89371c87c6175ddd208ffada9cf0e)), closes [#419](https://github.com/peaceiris/actions-hugo/issues/419)
|
||||
* bump hugo from 0.71.1 to 0.74.1 ([18a17a7](https://github.com/peaceiris/actions-hugo/commit/18a17a77a865be445d1ee0fbe251655fa53f8509))
|
||||
* bump hugo from 0.74.1 to 0.74.2 ([89d2e2c](https://github.com/peaceiris/actions-hugo/commit/89d2e2c7e8c62e5c50d0deadcd5f163b80dae639))
|
||||
* bump Hugo from 0.74.2 to 0.75.1 (#439) ([e091c92](https://github.com/peaceiris/actions-hugo/commit/e091c924f25bf7adb8a8662ace3b28429b1ae5c8)), closes [#439](https://github.com/peaceiris/actions-hugo/issues/439)
|
||||
|
||||
|
||||
|
||||
## [2.4.12](https://github.com/peaceiris/actions-hugo/compare/v2.4.11...v2.4.12) (2020-06-21)
|
||||
|
||||
|
||||
### chore
|
||||
|
||||
* Add CODEOWNERS ([75e0d6c](https://github.com/peaceiris/actions-hugo/commit/75e0d6c01d147a40a4ca4d546a35f0aa89977cd8))
|
||||
* Enhance style ([07082d9](https://github.com/peaceiris/actions-hugo/commit/07082d9e3b019317c88ab12ee38807e476f9ae5c))
|
||||
* Please follow the issue templates ([16b12f7](https://github.com/peaceiris/actions-hugo/commit/16b12f7dfe70a4b9d8a867616374a2b70b6cbd7d))
|
||||
* Ported issue template ([2aa39a0](https://github.com/peaceiris/actions-hugo/commit/2aa39a0fb5fd48fb28b7fd4c1e41980674d291f4))
|
||||
|
||||
### ci
|
||||
|
||||
* Add hook for doctoc ([2357c76](https://github.com/peaceiris/actions-hugo/commit/2357c76e2abc2649fcab48eb899a8b2a617d371a))
|
||||
* add is_skip [skip ci] ([c0e9f57](https://github.com/peaceiris/actions-hugo/commit/c0e9f57fdbd5049eb5e8d479c10b7d85bccaf21f))
|
||||
* Add Label Commenter Action ([271b8c5](https://github.com/peaceiris/actions-hugo/commit/271b8c5d4e39f7019428366d9194fb75beb26a23))
|
||||
* add package-ecosystem github-actions ([38bf1d2](https://github.com/peaceiris/actions-hugo/commit/38bf1d20d08732c5b05fafc7093258d87ae8733a))
|
||||
* Add ubuntu-16.04 ([55117bd](https://github.com/peaceiris/actions-hugo/commit/55117bdfe7031543062c1a69e3f4ccf28bec9448))
|
||||
* Add ubuntu-20.04 (#355) ([926e28d](https://github.com/peaceiris/actions-hugo/commit/926e28de4aa8dca25a718a1eb8c593a771b2c3b3)), closes [#355](https://github.com/peaceiris/actions-hugo/issues/355)
|
||||
* bump actions/setup-node from v1 to v2.0.0 (#359) ([41aa07a](https://github.com/peaceiris/actions-hugo/commit/41aa07a09a8f741e87bea9a2d763300f19702547)), closes [#359](https://github.com/peaceiris/actions-hugo/issues/359)
|
||||
* bump codecov/codecov-action from v1 to v1.0.7 (#358) ([0b3975d](https://github.com/peaceiris/actions-hugo/commit/0b3975d69013fa58ebe97813b1de53260d654712)), closes [#358](https://github.com/peaceiris/actions-hugo/issues/358)
|
||||
* Change update_type from all to semver:minor ([e4c9fb3](https://github.com/peaceiris/actions-hugo/commit/e4c9fb3020e200921210b2792ef39c5b70f335c6))
|
||||
* Enhance test workflow (#301) ([0b128ac](https://github.com/peaceiris/actions-hugo/commit/0b128ac232579caa1e5817628f96aee1759a3627)), closes [#301](https://github.com/peaceiris/actions-hugo/issues/301)
|
||||
* fix labels of github-actions ([697e1b0](https://github.com/peaceiris/actions-hugo/commit/697e1b0bf943bedbb08f978b353956d591f38dc0))
|
||||
* remove pull_request.types ([312bc2c](https://github.com/peaceiris/actions-hugo/commit/312bc2c8e4e0c8f0e297fabe335bd322edbb5a3b))
|
||||
* remove skipci job ([998d851](https://github.com/peaceiris/actions-hugo/commit/998d85162e3e9752aabdf6e7a2dd2dcdd946881e))
|
||||
* Update Dependabot config file (#345) ([f0d9378](https://github.com/peaceiris/actions-hugo/commit/f0d93788f5871d7f4cfa35da5c12cada1b9de16e)), closes [#345](https://github.com/peaceiris/actions-hugo/issues/345)
|
||||
|
||||
### deps
|
||||
|
||||
* bump @actions/core from 1.2.3 to 1.2.4 ([aaaac3a](https://github.com/peaceiris/actions-hugo/commit/aaaac3ae9967a1f3277ceb6aab52070034ec3565))
|
||||
* bump @actions/exec from 1.0.3 to 1.0.4 ([a098653](https://github.com/peaceiris/actions-hugo/commit/a098653b2f3a9ed5e9bb14ccbf32dfe70c3f4dd3))
|
||||
* bump @actions/tool-cache from 1.3.4 to 1.3.5 ([9ba5218](https://github.com/peaceiris/actions-hugo/commit/9ba52187b56e1070eee5b8d28b899ed7317405f6))
|
||||
* bump @actions/tool-cache from 1.3.5 to 1.5.5 (#333) ([3c2f87a](https://github.com/peaceiris/actions-hugo/commit/3c2f87a0bff49d8aed403dd586b84f128f9ba4fd)), closes [#333](https://github.com/peaceiris/actions-hugo/issues/333)
|
||||
* bump @types/jest from 25.2.1 to 25.2.2 ([4c11e4e](https://github.com/peaceiris/actions-hugo/commit/4c11e4e48a81e55ee0841a8018f16ec59f27ca20))
|
||||
* bump @types/jest from 25.2.2 to 25.2.3 ([b1d5e3f](https://github.com/peaceiris/actions-hugo/commit/b1d5e3fb147bfbb9c89327b64067e4cde1b2ac84))
|
||||
* bump @types/jest from 25.2.3 to 26.0.0 (#352) ([b18493f](https://github.com/peaceiris/actions-hugo/commit/b18493fdf7d73b960b320e49e1d5b83991e87c88)), closes [#352](https://github.com/peaceiris/actions-hugo/issues/352)
|
||||
* bump @types/node from 12.12.37 to 12.12.38 ([dc79cf9](https://github.com/peaceiris/actions-hugo/commit/dc79cf98c43e9310a1ab08bb501529d7ed6aaedc))
|
||||
* bump @types/node from 12.12.38 to 12.12.41 ([89fc843](https://github.com/peaceiris/actions-hugo/commit/89fc843efbe601d77b00552cd75ef7a262f9560a))
|
||||
* bump @types/node from 12.12.41 to 12.12.42 ([ad8ddd7](https://github.com/peaceiris/actions-hugo/commit/ad8ddd743ab4b5e555f93f960e2f9913624102ac))
|
||||
* bump @types/node from 12.12.42 to 12.12.43 ([07ef174](https://github.com/peaceiris/actions-hugo/commit/07ef174ec463583d48557606ba0546543ff7a677))
|
||||
* bump @types/node from 12.12.43 to 12.12.44 (#347) ([e92a791](https://github.com/peaceiris/actions-hugo/commit/e92a791bf30d2c682faf364d4d8658f944384d46)), closes [#347](https://github.com/peaceiris/actions-hugo/issues/347)
|
||||
* bump @types/node from 12.12.44 to 12.12.45 (#350) ([b5e2760](https://github.com/peaceiris/actions-hugo/commit/b5e2760b23b75985a5963549ef967ad204e0b44a)), closes [#350](https://github.com/peaceiris/actions-hugo/issues/350)
|
||||
* bump @types/node from 12.12.45 to 12.12.47 (#351) ([2f831ed](https://github.com/peaceiris/actions-hugo/commit/2f831edb58c1372ecf7707dd046cabece5687106)), closes [#351](https://github.com/peaceiris/actions-hugo/issues/351)
|
||||
* bump @typescript-eslint/eslint-plugin from 2.28.0 to 2.30.0 ([3e0138d](https://github.com/peaceiris/actions-hugo/commit/3e0138dbef3407a112e64881f1550c88456109e9))
|
||||
* bump @typescript-eslint/eslint-plugin from 2.30.0 to 2.31.0 ([b92f084](https://github.com/peaceiris/actions-hugo/commit/b92f084f4595967244dc347624cfab55415b0bc1))
|
||||
* bump @typescript-eslint/eslint-plugin from 2.31.0 to 2.32.0 ([9216be3](https://github.com/peaceiris/actions-hugo/commit/9216be3bc0ef12b561702f0a148c20b79f6834d2))
|
||||
* bump @typescript-eslint/eslint-plugin from 2.32.0 to 2.33.0 ([66a332b](https://github.com/peaceiris/actions-hugo/commit/66a332b429091e28faebc300216f305e81c339f7))
|
||||
* bump @typescript-eslint/eslint-plugin from 2.33.0 to 2.34.0 ([7e64f45](https://github.com/peaceiris/actions-hugo/commit/7e64f450a732b1336e2b46870c89d989cbf52d47))
|
||||
* bump @typescript-eslint/parser from 2.30.0 to 2.31.0 ([b99a08a](https://github.com/peaceiris/actions-hugo/commit/b99a08a3b8e7dc0711f18e3c8180d1c8c873eb1b))
|
||||
* bump @typescript-eslint/parser from 2.31.0 to 2.32.0 ([8c661f7](https://github.com/peaceiris/actions-hugo/commit/8c661f7d9b7ab8cf940148fde66a58a6befa6391))
|
||||
* bump @typescript-eslint/parser from 2.32.0 to 2.33.0 ([012b11d](https://github.com/peaceiris/actions-hugo/commit/012b11dba4f2e38755c5acdfba1c4711f009c3ae))
|
||||
* bump @typescript-eslint/parser from 2.33.0 to 2.34.0 ([271cee0](https://github.com/peaceiris/actions-hugo/commit/271cee08e77e64479d7282a1f7bba2733c1a5502))
|
||||
* bump @zeit/ncc from 0.22.1 to 0.22.2 (#329) ([98135d2](https://github.com/peaceiris/actions-hugo/commit/98135d2cd0f2f4597c404384cafa03215fd01378)), closes [#329](https://github.com/peaceiris/actions-hugo/issues/329)
|
||||
* bump @zeit/ncc from 0.22.2 to 0.22.3 (#339) ([8f166cf](https://github.com/peaceiris/actions-hugo/commit/8f166cf07e4691d65b912ad2fef51aa3e5ff57fe)), closes [#339](https://github.com/peaceiris/actions-hugo/issues/339)
|
||||
* bump eslint-plugin-jest from 23.10.0 to 23.11.0 ([c264525](https://github.com/peaceiris/actions-hugo/commit/c264525a0ab2387ea6309d92576e7462c903a1f5))
|
||||
* bump eslint-plugin-jest from 23.11.0 to 23.12.0 ([e6a0191](https://github.com/peaceiris/actions-hugo/commit/e6a01917e07ede5857ebc5e686249e8d3ff9a491))
|
||||
* bump eslint-plugin-jest from 23.12.0 to 23.13.0 ([dd37fe2](https://github.com/peaceiris/actions-hugo/commit/dd37fe20fa14d9a38229a3d004c1db29de6a6e74))
|
||||
* bump eslint-plugin-jest from 23.13.0 to 23.13.1 ([7d80e16](https://github.com/peaceiris/actions-hugo/commit/7d80e1641cfd813ce9387b4b9961a4e7845f31ec))
|
||||
* bump eslint-plugin-jest from 23.13.1 to 23.13.2 ([b458469](https://github.com/peaceiris/actions-hugo/commit/b458469ce7b3a8dd28e7c9cd4428bbf293202e18))
|
||||
* bump eslint-plugin-jest from 23.8.2 to 23.9.0 ([11b6ba4](https://github.com/peaceiris/actions-hugo/commit/11b6ba478ca58a02938a6d650d6d0a7a0637054e))
|
||||
* bump eslint-plugin-jest from 23.9.0 to 23.10.0 ([ef0b1e0](https://github.com/peaceiris/actions-hugo/commit/ef0b1e0a8500c34dff72bb6e730a5d2d62db362f))
|
||||
* bump git from 2.26.1 to 2.27.0 (#354) ([5420562](https://github.com/peaceiris/actions-hugo/commit/54205620eee116a6c8b2b43047be61fec3713f75)), closes [#354](https://github.com/peaceiris/actions-hugo/issues/354)
|
||||
* bump jest from 25.5.0 to 25.5.1 ([b9fb59f](https://github.com/peaceiris/actions-hugo/commit/b9fb59f829d2305d75c8d6f4acafa19d0f3c9376))
|
||||
* bump jest from 25.5.1 to 25.5.2 ([b9569c2](https://github.com/peaceiris/actions-hugo/commit/b9569c27b6b33a0677dbb14f753b4494b7aa3ff1))
|
||||
* bump jest from 25.5.2 to 25.5.3 ([815ceae](https://github.com/peaceiris/actions-hugo/commit/815ceae6cf2313a1c633cfc24648f08015101d49))
|
||||
* bump jest from 25.5.3 to 25.5.4 ([b0c6103](https://github.com/peaceiris/actions-hugo/commit/b0c61036db0b2f5747405b1c2e29c262d3af6364))
|
||||
* bump jest-circus from 25.5.0 to 25.5.1 ([a3c3e71](https://github.com/peaceiris/actions-hugo/commit/a3c3e71549f8f2b4d19e2a9c1908bc094d3c7964))
|
||||
* bump jest-circus from 25.5.1 to 25.5.2 ([ed2a699](https://github.com/peaceiris/actions-hugo/commit/ed2a6998667974d53da9eb518d497f1842362413))
|
||||
* bump jest-circus from 25.5.2 to 25.5.3 ([02e6a28](https://github.com/peaceiris/actions-hugo/commit/02e6a28e7e7ecfd74ba1de73a0e69cd9d32aa856))
|
||||
* bump jest-circus from 25.5.3 to 25.5.4 ([9983819](https://github.com/peaceiris/actions-hugo/commit/9983819c7b12bf0b2199eefb45264ef96b2b86ec))
|
||||
* bump jest-circus from 25.5.4 to 26.0.0 ([fc3f6e7](https://github.com/peaceiris/actions-hugo/commit/fc3f6e7cc9e9bbd4a31ba5644b44a40c4e092882))
|
||||
* bump jest-circus from 26.0.0 to 26.0.1 ([4271d65](https://github.com/peaceiris/actions-hugo/commit/4271d65cbac605d9b9143a59ed77436a90328439))
|
||||
* bump lint-staged from 10.1.6 to 10.2.0 ([5dbfe6b](https://github.com/peaceiris/actions-hugo/commit/5dbfe6b02fa7ea6c544a91b8c733f370eb781fe1))
|
||||
* bump lint-staged from 10.2.0 to 10.2.1 ([97168f4](https://github.com/peaceiris/actions-hugo/commit/97168f4ffdc9120321ab81f3785ed883a0292da2))
|
||||
* bump lint-staged from 10.2.1 to 10.2.2 ([466efd6](https://github.com/peaceiris/actions-hugo/commit/466efd6e327be8268c8e4f58b8dde51b571696b0))
|
||||
* bump lint-staged from 10.2.10 to 10.2.11 (#357) ([4ec522d](https://github.com/peaceiris/actions-hugo/commit/4ec522dca345774f865ef33f624c622763dedbb8)), closes [#357](https://github.com/peaceiris/actions-hugo/issues/357)
|
||||
* bump lint-staged from 10.2.2 to 10.2.4 ([2cdb0da](https://github.com/peaceiris/actions-hugo/commit/2cdb0da4debc0c98061b4e09c6547ddd2db1834c))
|
||||
* bump lint-staged from 10.2.4 to 10.2.6 ([b920e24](https://github.com/peaceiris/actions-hugo/commit/b920e249f6a1acb1fbff7ff6e8711916869a27c3))
|
||||
* bump lint-staged from 10.2.6 to 10.2.7 ([592603c](https://github.com/peaceiris/actions-hugo/commit/592603c7c2a30e3a450363117c41a7ec358f2d06))
|
||||
* bump lint-staged from 10.2.7 to 10.2.8 (#346) ([533dde8](https://github.com/peaceiris/actions-hugo/commit/533dde857531b95164d8d5f21462187e581618a9)), closes [#346](https://github.com/peaceiris/actions-hugo/issues/346)
|
||||
* bump lint-staged from 10.2.8 to 10.2.9 (#349) ([dcf08e2](https://github.com/peaceiris/actions-hugo/commit/dcf08e2fd2c712501ecb05cbc2005a1e4de06092)), closes [#349](https://github.com/peaceiris/actions-hugo/issues/349)
|
||||
* bump lint-staged from 10.2.9 to 10.2.10 (#356) ([914abda](https://github.com/peaceiris/actions-hugo/commit/914abda3d8422bc3d850bb3651f7540dd714036a)), closes [#356](https://github.com/peaceiris/actions-hugo/issues/356)
|
||||
* bump node from 12.16.1 to 12.16.3 (#288) ([32e3df2](https://github.com/peaceiris/actions-hugo/commit/32e3df2806a568e829146259abc0965797b6cf59)), closes [#288](https://github.com/peaceiris/actions-hugo/issues/288)
|
||||
* bump node from 12.16.3 to 12.18.0 (#353) ([09cf940](https://github.com/peaceiris/actions-hugo/commit/09cf94008e15f8629028e708ebf5049286556670)), closes [#353](https://github.com/peaceiris/actions-hugo/issues/353)
|
||||
* bump node from 12.18.0 to 12.18.1 (#360) ([7160613](https://github.com/peaceiris/actions-hugo/commit/71606133495c4ec46bff6f3096e9f98e62a24e05)), closes [#360](https://github.com/peaceiris/actions-hugo/issues/360)
|
||||
* bump standard-version from 7.1.0 to 8.0.0 ([73356f0](https://github.com/peaceiris/actions-hugo/commit/73356f0ae57cb8fb165a929f8e9637120334b86a))
|
||||
* bump ts-jest from 25.4.0 to 25.5.0 ([0c93074](https://github.com/peaceiris/actions-hugo/commit/0c93074aabfd1477a93af132e2e6ca8b397919d9))
|
||||
* bump ts-jest from 25.5.0 to 25.5.1 ([d7c46d0](https://github.com/peaceiris/actions-hugo/commit/d7c46d09c935763ad519d2f34290f4ac6be38ccb))
|
||||
* bump typescript from 3.8.3 to 3.9.2 ([b555054](https://github.com/peaceiris/actions-hugo/commit/b55505415753f290f1e3e93b92826257bd21aaee))
|
||||
* bump typescript from 3.9.2 to 3.9.3 ([d3ebe5d](https://github.com/peaceiris/actions-hugo/commit/d3ebe5d657f863b5879b6fb2df7e6ba6bb2e983f))
|
||||
* bump typescript from 3.9.3 to 3.9.5 (#348) ([658d24b](https://github.com/peaceiris/actions-hugo/commit/658d24bb3e335ec5695aa87bc6b2c02cd78f0028)), closes [#348](https://github.com/peaceiris/actions-hugo/issues/348)
|
||||
|
||||
### docs
|
||||
|
||||
* add Babel ([b99235e](https://github.com/peaceiris/actions-hugo/commit/b99235e60ed6e4cbf138aa9167f567a4a6c664e6))
|
||||
* Add new section for asciidoctor ([71fe6db](https://github.com/peaceiris/actions-hugo/commit/71fe6dbc7f2bd0596392fe20805753a67b00af1f)), closes [#342](https://github.com/peaceiris/actions-hugo/issues/342)
|
||||
* Add new section for google/docsy ([e3045c5](https://github.com/peaceiris/actions-hugo/commit/e3045c5fb50cfbacbc0d9b9ce287d7e112f56e00))
|
||||
* bump hugo from 0.68.3 to 0.71.0 ([cb3ccf6](https://github.com/peaceiris/actions-hugo/commit/cb3ccf6f428dc8320595af305c6531679b343eb1))
|
||||
* bump hugo to 0.71.1 ([cb1a02b](https://github.com/peaceiris/actions-hugo/commit/cb1a02bb3535bef17b19b5811658d61b60377bcc))
|
||||
* bump hugo to 0.71.1 ([ad41861](https://github.com/peaceiris/actions-hugo/commit/ad41861beb535cc414f8a2ff238b28aa334db49a))
|
||||
* remove Dependabot status badge ([aa5de43](https://github.com/peaceiris/actions-hugo/commit/aa5de43b2b75066241428b66dcf9204351ab680b))
|
||||
* update ToC ([dd33407](https://github.com/peaceiris/actions-hugo/commit/dd334074ce1f4f6c0e3599c0c913426bac4575fe))
|
||||
* update url ([0f35b33](https://github.com/peaceiris/actions-hugo/commit/0f35b33b7371b0c4b115eeb0ea6acdb9cd2e0e78))
|
||||
|
||||
### fix
|
||||
|
||||
* Wrap an entrypoint by async to handle exceptions correctly (#363) ([54af4c1](https://github.com/peaceiris/actions-hugo/commit/54af4c1320eee4b2c9c6d46b4bede3f593b1bc50)), closes [#363](https://github.com/peaceiris/actions-hugo/issues/363)
|
||||
|
||||
|
||||
|
||||
## [2.4.11](https://github.com/peaceiris/actions-hugo/compare/v2.4.10...v2.4.11) (2020-04-29)
|
||||
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ RUN apt-get update && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /git
|
||||
ENV GIT_VERSION="2.27.0"
|
||||
ENV GIT_VERSION="2.28.0"
|
||||
RUN wget -q "https://github.com/git/git/archive/v${GIT_VERSION}.tar.gz" && \
|
||||
tar -zxf "./v${GIT_VERSION}.tar.gz" && \
|
||||
rm "./v${GIT_VERSION}.tar.gz" && \
|
||||
|
||||
125
README.md
125
README.md
@@ -1,30 +1,29 @@
|
||||
[](https://github.com/peaceiris/actions-hugo/blob/master/LICENSE)
|
||||
[](https://github.com/peaceiris/actions-hugo/releases/latest)
|
||||
[](https://github.com/peaceiris/actions-hugo/releases)
|
||||
[](https://github.com/peaceiris/actions-hugo/releases.atom)
|
||||

|
||||
|
||||
[](https://www.codefactor.io/repository/github/peaceiris/actions-hugo)
|
||||
[](https://codecov.io/gh/peaceiris/actions-hugo)
|
||||
[](https://codeclimate.com/github/peaceiris/actions-hugo/maintainability)
|
||||
## GitHub Actions for Hugo
|
||||
|
||||
<img width="400" alt="GitHub Actions for Hugo" src="./images/ogp.svg">
|
||||
|
||||
[](https://github.com/peaceiris/actions-hugo/blob/main/LICENSE)
|
||||
[](https://github.com/peaceiris/actions-hugo/releases/latest)
|
||||
[](https://github.com/peaceiris/actions-hugo/releases)
|
||||
[](https://github.com/peaceiris/actions-hugo/releases.atom)
|
||||

|
||||

|
||||
|
||||
[](https://www.codefactor.io/repository/github/peaceiris/actions-hugo)
|
||||
[](https://codecov.io/gh/peaceiris/actions-hugo)
|
||||
[](https://codeclimate.com/github/peaceiris/actions-hugo/maintainability)
|
||||
|
||||
## GitHub Actions for Hugo
|
||||
|
||||
- [gohugoio/hugo: The world’s fastest framework for building websites.](https://github.com/gohugoio/hugo)
|
||||
|
||||
This **Hugo Setup Action** can install **Hugo** to a virtual machine of **GitHub Actions**.
|
||||
This **Hugo Setup Action** can install [Hugo] to a virtual machine of **GitHub Actions**.
|
||||
**Hugo extended** version, **Hugo Modules**, Linux (Ubuntu), macOS, and Windows are supported.
|
||||
|
||||
[Hugo]: https://github.com/gohugoio/hugo
|
||||
|
||||
From `v2`, this Hugo Setup Action has migrated to a JavaScript (TypeScript) action.
|
||||
We no longer build or pull a Hugo docker image.
|
||||
Thanks to this change, we can complete this action in less than a few seconds.
|
||||
(A docker base action was taking about 1 min or more execution time to build and pull a docker image.)
|
||||
|
||||
| OS (runs-on) | ubuntu-18.04 | macos-latest | windows-2019 |
|
||||
| OS (runs-on) | ubuntu-18.04, ubuntu-20.04 | macos-latest | windows-2019 |
|
||||
|---|:---:|:---:|:---:|
|
||||
| Support | ✅️ | ✅️ | ✅️ |
|
||||
|
||||
@@ -39,16 +38,17 @@ Thanks to this change, we can complete this action in less than a few seconds.
|
||||
<!-- 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)
|
||||
- [⭐️ Create your workflow](#%EF%B8%8F-create-your-workflow)
|
||||
- [Options](#options)
|
||||
- [⭐️ Use Hugo extended](#%EF%B8%8F-use-hugo-extended)
|
||||
- [⭐️ Use the latest version of Hugo](#%EF%B8%8F-use-the-latest-version-of-hugo)
|
||||
- [Tips](#tips)
|
||||
- [⭐️ Caching Hugo Modules](#%EF%B8%8F-caching-hugo-modules)
|
||||
- [⭐️ Read Hugo version from file](#%EF%B8%8F-read-hugo-version-from-file)
|
||||
- [⭐️ Workflow for autoprefixer and postcss-cli](#%EF%B8%8F-workflow-for-autoprefixer-and-postcss-cli)
|
||||
- [⭐️ Workflow for asciidoctor](#%EF%B8%8F-workflow-for-asciidoctor)
|
||||
- [⭐️ Non-ascii Filename](#%EF%B8%8F-non-ascii-filename)
|
||||
- [CHANGELOG](#changelog)
|
||||
- [License](#license)
|
||||
- [About Maintainer](#about-maintainer)
|
||||
@@ -75,7 +75,8 @@ name: github pages
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main # Set a branch to deploy
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
@@ -89,7 +90,7 @@ jobs:
|
||||
- name: Setup Hugo
|
||||
uses: peaceiris/actions-hugo@v2
|
||||
with:
|
||||
hugo-version: '0.71.1'
|
||||
hugo-version: '0.83.1'
|
||||
# extended: true
|
||||
|
||||
- name: Build
|
||||
@@ -97,6 +98,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
|
||||
@@ -118,7 +120,7 @@ Set `extended: true` to use a Hugo extended version.
|
||||
- name: Setup Hugo
|
||||
uses: peaceiris/actions-hugo@v2
|
||||
with:
|
||||
hugo-version: '0.71.1'
|
||||
hugo-version: '0.83.1'
|
||||
extended: true
|
||||
```
|
||||
|
||||
@@ -143,6 +145,27 @@ This action fetches the latest version of Hugo by [hugo | Homebrew Formulae](htt
|
||||
|
||||
## Tips
|
||||
|
||||
### ⭐️ Caching Hugo Modules
|
||||
|
||||
Insert a cache step before site-building as follows.
|
||||
Note that the cache dir location of Hugo on a Linux-based operating system is `/tmp/hugo_cache`. On macOS, `${TMPDIR}/hugo_cache` has the location.
|
||||
|
||||
```yaml
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: /tmp/hugo_cache
|
||||
key: ${{ runner.os }}-hugomod-${{ hashFiles('**/go.sum') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-hugomod-
|
||||
|
||||
- name: Build
|
||||
run: hugo --minify
|
||||
```
|
||||
|
||||
<div align="right">
|
||||
<a href="#table-of-contents">Back to TOC ☝️</a>
|
||||
</div>
|
||||
|
||||
### ⭐️ Read Hugo version from file
|
||||
|
||||
How to sync a Hugo version between a Docker Compose and a GitHub Actions workflow via `.env` file.
|
||||
@@ -150,7 +173,7 @@ How to sync a Hugo version between a Docker Compose and a GitHub Actions workflo
|
||||
Write a `HUGO_VERSION` to the `.env` file like the following and push it to a remote branch.
|
||||
|
||||
```sh
|
||||
HUGO_VERSION=0.71.1
|
||||
HUGO_VERSION=0.83.1
|
||||
```
|
||||
|
||||
Next, add a step to read a Hugo version from the `.env` file.
|
||||
@@ -178,7 +201,8 @@ services:
|
||||
hugo:
|
||||
container_name: hugo
|
||||
image: "peaceiris/hugo:v${HUGO_VERSION}"
|
||||
# image: peaceiris/hugo:v${HUGO_VERSION}-mod # Hugo Modules
|
||||
# image: peaceiris/hugo:v${HUGO_VERSION}-mod # Hugo Modules
|
||||
# image: peaceiris/hugo:v${HUGO_VERSION}-full # Hugo Modules and Node.js
|
||||
ports:
|
||||
- 1313:1313
|
||||
volumes:
|
||||
@@ -193,6 +217,10 @@ The alpine base Hugo Docker image is provided on the following repository.
|
||||
|
||||
> [peaceiris/hugo-extended-docker: Hugo alpine base Docker image (Hugo extended and Hugo Modules)](https://github.com/peaceiris/hugo-extended-docker)
|
||||
|
||||
<div align="right">
|
||||
<a href="#table-of-contents">Back to TOC ☝️</a>
|
||||
</div>
|
||||
|
||||
### ⭐️ Workflow for autoprefixer and postcss-cli
|
||||
|
||||
Here is an example workflow for the [google/docsy] Hugo theme.
|
||||
@@ -210,7 +238,8 @@ name: github pages
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main # Set a branch to deploy
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
@@ -224,13 +253,13 @@ jobs:
|
||||
- name: Setup Hugo
|
||||
uses: peaceiris/actions-hugo@v2
|
||||
with:
|
||||
hugo-version: '0.71.1'
|
||||
hugo-version: '0.83.1'
|
||||
extended: true
|
||||
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v1
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '12.x'
|
||||
node-version: '14'
|
||||
|
||||
- name: Cache dependencies
|
||||
uses: actions/cache@v1
|
||||
@@ -245,10 +274,15 @@ jobs:
|
||||
|
||||
- name: Deploy
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
if: github.ref == 'refs/heads/main'
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
```
|
||||
|
||||
<div align="right">
|
||||
<a href="#table-of-contents">Back to TOC ☝️</a>
|
||||
</div>
|
||||
|
||||
### ⭐️ Workflow for asciidoctor
|
||||
|
||||
Here is an example workflow for a Hugo project using `asciidoctor`.
|
||||
@@ -259,7 +293,8 @@ name: github pages
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main # Set a branch to deploy
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
@@ -273,7 +308,7 @@ jobs:
|
||||
- name: Setup Hugo
|
||||
uses: peaceiris/actions-hugo@v2
|
||||
with:
|
||||
hugo-version: '0.71.1'
|
||||
hugo-version: '0.83.1'
|
||||
extended: true
|
||||
|
||||
- name: Setup Ruby
|
||||
@@ -290,6 +325,7 @@ jobs:
|
||||
|
||||
- name: Deploy
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
if: github.ref == 'refs/heads/main'
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
```
|
||||
@@ -298,6 +334,39 @@ jobs:
|
||||
<a href="#table-of-contents">Back to TOC ☝️</a>
|
||||
</div>
|
||||
|
||||
### ⭐️ Non-ascii Filename
|
||||
|
||||
cf. [Gitinfo fails on unicode filename · Issue #3071 · gohugoio/hugo](https://github.com/gohugoio/hugo/issues/3071)
|
||||
|
||||
```yaml
|
||||
name: github pages
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Disable quotePath
|
||||
run: git config core.quotePath false
|
||||
|
||||
- name: Setup Hugo
|
||||
uses: peaceiris/actions-hugo@v2
|
||||
with:
|
||||
hugo-version: '0.83.1'
|
||||
```
|
||||
|
||||
<div align="right">
|
||||
<a href="#table-of-contents">Back to TOC ☝️</a>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
## CHANGELOG
|
||||
@@ -310,7 +379,7 @@ jobs:
|
||||
|
||||
- [MIT License - peaceiris/actions-hugo]
|
||||
|
||||
[MIT License - peaceiris/actions-hugo]: https://github.com/peaceiris/actions-hugo/blob/master/LICENSE
|
||||
[MIT License - peaceiris/actions-hugo]: https://github.com/peaceiris/actions-hugo/blob/main/LICENSE
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
{"name":"hugo","full_name":"hugo","oldname":null,"aliases":[],"versioned_formulae":[],"desc":"Configurable static site generator","homepage":"https://gohugo.io/","versions":{"stable":"0.62.2","devel":null,"head":"HEAD","bottle":true},"revision":0,"version_scheme":0,"bottle":{"stable":{"rebuild":0,"cellar":":any_skip_relocation","prefix":"/usr/local","root_url":"https://homebrew.bintray.com/bottles","files":{"catalina":{"url":"https://homebrew.bintray.com/bottles/hugo-0.62.2.catalina.bottle.tar.gz","sha256":"354545c2c125e01a8860f83577fb4218d585fa8d38cd7f51e4228a149347fbcf"},"mojave":{"url":"https://homebrew.bintray.com/bottles/hugo-0.62.2.mojave.bottle.tar.gz","sha256":"9645b64fe6290c4c3b7591ef21139247f0fad6e49da1edd01665b3130a8f1d1a"},"high_sierra":{"url":"https://homebrew.bintray.com/bottles/hugo-0.62.2.high_sierra.bottle.tar.gz","sha256":"0ede4cbcc7536dd6b05107376637840356062273d734b4106be98b3d1732d50c"}}}},"keg_only":false,"bottle_disabled":false,"options":[],"build_dependencies":["go"],"dependencies":[],"recommended_dependencies":[],"optional_dependencies":[],"uses_from_macos":[],"requirements":[],"conflicts_with":[],"caveats":null,"installed":[],"linked_keg":null,"pinned":false,"outdated":false,"analytics":{"install":{"30d":{"hugo":24278,"hugo --HEAD":30},"90d":{"hugo":68639,"hugo --HEAD":80},"365d":{"hugo":223748,"hugo --HEAD":321}},"install_on_request":{"30d":{"hugo":23621,"hugo --HEAD":27},"90d":{"hugo":66676,"hugo --HEAD":74},"365d":{"hugo":215985,"hugo --HEAD":305}},"build_error":{"30d":{"hugo":0}}}}
|
||||
{"name":"hugo","full_name":"hugo","tap":"homebrew/core","oldname":null,"aliases":[],"versioned_formulae":[],"desc":"Configurable static site generator","license":"Apache-2.0","homepage":"https://gohugo.io/","versions":{"stable":"0.83.1","head":"HEAD","bottle":true},"urls":{"stable":{"url":"https://github.com/gohugoio/hugo/archive/v0.83.1.tar.gz","tag":null,"revision":null}},"revision":0,"version_scheme":0,"bottle":{"stable":{"rebuild":0,"root_url":"https://ghcr.io/v2/homebrew/core","files":{"arm64_big_sur":{"cellar":":any_skip_relocation","url":"https://ghcr.io/v2/homebrew/core/hugo/blobs/sha256:f5997a1858e300787cd6e2e01ff8f87f0d3233f42af4becc040448ce06524d53","sha256":"f5997a1858e300787cd6e2e01ff8f87f0d3233f42af4becc040448ce06524d53"},"big_sur":{"cellar":":any_skip_relocation","url":"https://ghcr.io/v2/homebrew/core/hugo/blobs/sha256:32ad322954e9c2962849495c88c88e461d21a0a7d3bfa3aa4892ee34f569bf81","sha256":"32ad322954e9c2962849495c88c88e461d21a0a7d3bfa3aa4892ee34f569bf81"},"catalina":{"cellar":":any_skip_relocation","url":"https://ghcr.io/v2/homebrew/core/hugo/blobs/sha256:99078c665152420113fac08aaea7bdf2f8fe230696b724448bb9f2244cfdec55","sha256":"99078c665152420113fac08aaea7bdf2f8fe230696b724448bb9f2244cfdec55"},"mojave":{"cellar":":any_skip_relocation","url":"https://ghcr.io/v2/homebrew/core/hugo/blobs/sha256:a45ae895351a549639b40bdbb2a630e8a11ffb68d78a0aa7577faedce4c011d4","sha256":"a45ae895351a549639b40bdbb2a630e8a11ffb68d78a0aa7577faedce4c011d4"}}}},"keg_only":false,"bottle_disabled":false,"options":[],"build_dependencies":["go"],"dependencies":[],"recommended_dependencies":[],"optional_dependencies":[],"uses_from_macos":[],"requirements":[],"conflicts_with":[],"caveats":null,"installed":[],"linked_keg":null,"pinned":false,"outdated":false,"deprecated":false,"deprecation_date":null,"deprecation_reason":null,"disabled":false,"disable_date":null,"disable_reason":null,"analytics":{"install":{"30d":{"hugo":24137,"hugo --HEAD":16},"90d":{"hugo":61006,"hugo --HEAD":51},"365d":{"hugo":246915,"hugo --HEAD":273}},"install_on_request":{"30d":{"hugo":24100,"hugo --HEAD":16},"90d":{"hugo":60903,"hugo --HEAD":51},"365d":{"hugo":244317,"hugo --HEAD":266}},"build_error":{"30d":{"hugo":0}}},"generated_date":"2021-05-21"}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
15
__tests__/get-arch.test.ts
Normal file
15
__tests__/get-arch.test.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import getArch from '../src/get-arch';
|
||||
|
||||
describe('getArch', () => {
|
||||
test('processor architecture', () => {
|
||||
expect(getArch('x64')).toBe('64bit');
|
||||
expect(getArch('arm')).toBe('ARM');
|
||||
expect(getArch('arm64')).toBe('ARM64');
|
||||
});
|
||||
|
||||
test('exception', () => {
|
||||
expect(() => {
|
||||
getArch('mips');
|
||||
}).toThrowError('mips is not supported');
|
||||
});
|
||||
});
|
||||
@@ -27,15 +27,9 @@ describe('getURL()', () => {
|
||||
|
||||
describe('getLatestVersion()', () => {
|
||||
test('return latest version via brew', async () => {
|
||||
nock('https://formulae.brew.sh')
|
||||
.get(`/api/formula/${Tool.Repo}.json`)
|
||||
.reply(200, jsonTestBrew);
|
||||
nock('https://formulae.brew.sh').get(`/api/formula/${Tool.Repo}.json`).reply(200, jsonTestBrew);
|
||||
|
||||
const versionLatest: string = await getLatestVersion(
|
||||
Tool.Org,
|
||||
Tool.Repo,
|
||||
'brew'
|
||||
);
|
||||
const versionLatest: string = await getLatestVersion(Tool.Org, Tool.Repo, 'brew');
|
||||
expect(versionLatest).toMatch(Tool.TestVersionLatest);
|
||||
});
|
||||
|
||||
@@ -44,21 +38,13 @@ describe('getLatestVersion()', () => {
|
||||
.get(`/repos/${Tool.Org}/${Tool.Repo}/releases/latest`)
|
||||
.reply(200, jsonTestGithub);
|
||||
|
||||
const versionLatest: string = await getLatestVersion(
|
||||
Tool.Org,
|
||||
Tool.Repo,
|
||||
'github'
|
||||
);
|
||||
const versionLatest: string = await getLatestVersion(Tool.Org, Tool.Repo, 'github');
|
||||
expect(versionLatest).toMatch(Tool.TestVersionLatest);
|
||||
});
|
||||
|
||||
test('return exception 404', async () => {
|
||||
nock('https://formulae.brew.sh')
|
||||
.get(`/api/formula/${Tool.Repo}.json`)
|
||||
.reply(404);
|
||||
nock('https://formulae.brew.sh').get(`/api/formula/${Tool.Repo}.json`).reply(404);
|
||||
|
||||
await expect(
|
||||
getLatestVersion(Tool.Org, Tool.Repo, 'brew')
|
||||
).rejects.toThrowError(FetchError);
|
||||
await expect(getLatestVersion(Tool.Org, Tool.Repo, 'brew')).rejects.toThrowError(FetchError);
|
||||
});
|
||||
});
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
import getOS from '../src/get-os';
|
||||
|
||||
describe('getOS', () => {
|
||||
test('test', () => {
|
||||
test('os type', () => {
|
||||
expect(getOS('linux')).toBe('Linux');
|
||||
expect(getOS('darwin')).toBe('macOS');
|
||||
expect(getOS('win32')).toBe('Windows');
|
||||
});
|
||||
|
||||
test('test exception', () => {
|
||||
test('exception', () => {
|
||||
expect(() => {
|
||||
getOS('centos');
|
||||
}).toThrowError('centos is not supported');
|
||||
|
||||
@@ -1,19 +1,20 @@
|
||||
import getURL from '../src/get-url';
|
||||
|
||||
describe('getURL()', () => {
|
||||
test('test', () => {
|
||||
const baseURL =
|
||||
'https://github.com/gohugoio/hugo/releases/download/v0.58.2';
|
||||
test('get a URL to an asset for each platform', () => {
|
||||
const baseURL = 'https://github.com/gohugoio/hugo/releases/download/v0.58.2';
|
||||
const urlLinux = `${baseURL}/hugo_0.58.2_Linux-64bit.tar.gz`;
|
||||
const urlLinuxExtended = `${baseURL}/hugo_extended_0.58.2_Linux-64bit.tar.gz`;
|
||||
const urlMacOS = `${baseURL}/hugo_0.58.2_macOS-64bit.tar.gz`;
|
||||
const urlMacOSExtended = `${baseURL}/hugo_extended_0.58.2_macOS-64bit.tar.gz`;
|
||||
const urlWindows = `${baseURL}/hugo_0.58.2_Windows-64bit.zip`;
|
||||
expect(getURL('Linux', 'false', '0.58.2')).toBe(urlLinux);
|
||||
expect(getURL('Linux', 'true', '0.58.2')).not.toBe(urlLinux);
|
||||
expect(getURL('MyOS', 'false', '0.58.2')).not.toBe(urlLinux);
|
||||
expect(getURL('Linux', 'false', '0.58.1')).not.toBe(urlLinux);
|
||||
expect(getURL('Linux', 'true', '0.58.2')).toBe(urlLinuxExtended);
|
||||
expect(getURL('macOS', 'false', '0.58.2')).toBe(urlMacOS);
|
||||
expect(getURL('Windows', 'false', '0.58.2')).toBe(urlWindows);
|
||||
expect(getURL('Linux', '64bit', 'false', '0.58.2')).toBe(urlLinux);
|
||||
expect(getURL('Linux', '64bit', 'true', '0.58.2')).not.toBe(urlLinux);
|
||||
expect(getURL('MyOS', '64bit', 'false', '0.58.2')).not.toBe(urlLinux);
|
||||
expect(getURL('Linux', '64bit', 'false', '0.58.1')).not.toBe(urlLinux);
|
||||
expect(getURL('Linux', '64bit', 'true', '0.58.2')).toBe(urlLinuxExtended);
|
||||
expect(getURL('macOS', '64bit', 'false', '0.58.2')).toBe(urlMacOS);
|
||||
expect(getURL('macOS', '64bit', 'true', '0.58.2')).toBe(urlMacOSExtended);
|
||||
expect(getURL('Windows', '64bit', 'false', '0.58.2')).toBe(urlWindows);
|
||||
});
|
||||
});
|
||||
|
||||
@@ -27,7 +27,7 @@ describe('Integration testing run()', () => {
|
||||
process.env['INPUT_HUGO-VERSION'] = testVersion;
|
||||
const result: main.ActionResult = await main.run();
|
||||
expect(result.exitcode).toBe(0);
|
||||
expect(result.output).toMatch(`Hugo Static Site Generator v${testVersion}`);
|
||||
expect(result.output).toMatch(`hugo v${testVersion}`);
|
||||
});
|
||||
|
||||
test('succeed in installing a custom extended version', async () => {
|
||||
@@ -36,43 +36,33 @@ describe('Integration testing run()', () => {
|
||||
process.env['INPUT_EXTENDED'] = 'true';
|
||||
const result: main.ActionResult = await main.run();
|
||||
expect(result.exitcode).toBe(0);
|
||||
expect(result.output).toMatch(`Hugo Static Site Generator v${testVersion}`);
|
||||
expect(result.output).toMatch(`hugo v${testVersion}`);
|
||||
expect(result.output).toMatch(`extended`);
|
||||
});
|
||||
|
||||
test('succeed in installing the latest version', async () => {
|
||||
const testVersion = 'latest';
|
||||
process.env['INPUT_HUGO-VERSION'] = testVersion;
|
||||
nock('https://formulae.brew.sh')
|
||||
.get(`/api/formula/${Tool.Repo}.json`)
|
||||
.reply(200, jsonTestBrew);
|
||||
nock('https://formulae.brew.sh').get(`/api/formula/${Tool.Repo}.json`).reply(200, jsonTestBrew);
|
||||
const result: main.ActionResult = await main.run();
|
||||
expect(result.exitcode).toBe(0);
|
||||
expect(result.output).toMatch(
|
||||
`Hugo Static Site Generator v${Tool.TestVersionLatest}`
|
||||
);
|
||||
expect(result.output).toMatch(`hugo v${Tool.TestVersionLatest}`);
|
||||
});
|
||||
|
||||
test('succeed in installing the latest extended version', async () => {
|
||||
const testVersion = 'latest';
|
||||
process.env['INPUT_HUGO-VERSION'] = testVersion;
|
||||
process.env['INPUT_EXTENDED'] = 'true';
|
||||
nock('https://formulae.brew.sh')
|
||||
.get(`/api/formula/${Tool.Repo}.json`)
|
||||
.reply(200, jsonTestBrew);
|
||||
nock('https://formulae.brew.sh').get(`/api/formula/${Tool.Repo}.json`).reply(200, jsonTestBrew);
|
||||
const result: main.ActionResult = await main.run();
|
||||
expect(result.exitcode).toBe(0);
|
||||
expect(result.output).toMatch(
|
||||
`Hugo Static Site Generator v${Tool.TestVersionLatest}`
|
||||
);
|
||||
expect(result.output).toMatch(`hugo v${Tool.TestVersionLatest}`);
|
||||
expect(result.output).toMatch(`extended`);
|
||||
});
|
||||
|
||||
test('fail to install the latest version due to 404 of brew', async () => {
|
||||
process.env['INPUT_HUGO-VERSION'] = 'latest';
|
||||
nock('https://formulae.brew.sh')
|
||||
.get(`/api/formula/${Tool.Repo}.json`)
|
||||
.reply(404);
|
||||
nock('https://formulae.brew.sh').get(`/api/formula/${Tool.Repo}.json`).reply(404);
|
||||
|
||||
await expect(main.run()).rejects.toThrowError(FetchError);
|
||||
});
|
||||
@@ -91,8 +81,6 @@ describe('showVersion()', () => {
|
||||
});
|
||||
|
||||
test('return not found', async () => {
|
||||
await expect(
|
||||
main.showVersion('gitgit', ['--version'])
|
||||
).rejects.toThrowError(Error);
|
||||
await expect(main.showVersion('gitgit', ['--version'])).rejects.toThrowError(Error);
|
||||
});
|
||||
});
|
||||
|
||||
7143
lib/index.js
Normal file
7143
lib/index.js
Normal file
File diff suppressed because it is too large
Load Diff
20764
package-lock.json
generated
20764
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
55
package.json
55
package.json
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "actions-hugo",
|
||||
"version": "2.4.11",
|
||||
"version": "2.5.0",
|
||||
"description": "GitHub Actions for Hugo",
|
||||
"main": "lib/index.js",
|
||||
"engines": {
|
||||
@@ -17,22 +17,15 @@
|
||||
"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"
|
||||
}
|
||||
"postinstall": "npx husky install"
|
||||
},
|
||||
"lint-staged": {
|
||||
"src/**/*.ts": [
|
||||
"{src,__tests__}/**/*.ts": [
|
||||
"prettier --check",
|
||||
"eslint"
|
||||
],
|
||||
"README.md": [
|
||||
"npx doctoc@1.4.0 --github"
|
||||
"npx doctoc@2.0.0 --github"
|
||||
]
|
||||
},
|
||||
"repository": {
|
||||
@@ -54,29 +47,29 @@
|
||||
},
|
||||
"homepage": "https://github.com/peaceiris/actions-hugo#readme",
|
||||
"dependencies": {
|
||||
"@actions/core": "^1.2.4",
|
||||
"@actions/core": "^1.2.7",
|
||||
"@actions/exec": "^1.0.4",
|
||||
"@actions/io": "^1.0.2",
|
||||
"@actions/tool-cache": "^1.5.5",
|
||||
"node-fetch": "^2.6.0"
|
||||
"@actions/io": "^1.1.0",
|
||||
"@actions/tool-cache": "^1.6.1",
|
||||
"node-fetch": "^2.6.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/jest": "^26.0.0",
|
||||
"@types/jest": "^26.0.20",
|
||||
"@types/node": "~12",
|
||||
"@types/node-fetch": "^2.5.7",
|
||||
"@typescript-eslint/eslint-plugin": "^2.34.0",
|
||||
"@typescript-eslint/parser": "^2.34.0",
|
||||
"@zeit/ncc": "^0.22.3",
|
||||
"eslint": "^6.8.0",
|
||||
"eslint-plugin-jest": "^23.13.2",
|
||||
"husky": "^4.2.5",
|
||||
"jest": "^25.5.4",
|
||||
"jest-circus": "^26.0.1",
|
||||
"lint-staged": "^10.2.11",
|
||||
"nock": "^12.0.3",
|
||||
"prettier": "2.0.5",
|
||||
"standard-version": "^8.0.0",
|
||||
"ts-jest": "^25.5.1",
|
||||
"typescript": "^3.9.5"
|
||||
"@types/node-fetch": "^2.5.8",
|
||||
"@typescript-eslint/eslint-plugin": "^4.16.1",
|
||||
"@typescript-eslint/parser": "^4.16.1",
|
||||
"@vercel/ncc": "^0.27.0",
|
||||
"eslint": "^7.21.0",
|
||||
"eslint-plugin-jest": "^24.1.5",
|
||||
"husky": "^5.1.3",
|
||||
"jest": "^26.6.3",
|
||||
"jest-circus": "^26.6.3",
|
||||
"lint-staged": "^10.5.4",
|
||||
"nock": "^13.0.10",
|
||||
"prettier": "2.2.1",
|
||||
"standard-version": "^9.1.1",
|
||||
"ts-jest": "^26.5.3",
|
||||
"typescript": "^4.2.3"
|
||||
}
|
||||
}
|
||||
|
||||
10
release.sh
10
release.sh
@@ -3,8 +3,10 @@
|
||||
# fail on unset variables and command errors
|
||||
set -eu -o pipefail # -x: is for debugging
|
||||
|
||||
if [ "$(git branch --show-current)" != "master" ]; then
|
||||
echo "$0: Current branch is not master" 1>&2
|
||||
DEFAULT_BRANCH="main"
|
||||
|
||||
if [ "$(git branch --show-current)" != "${DEFAULT_BRANCH}" ]; then
|
||||
echo "$0: Current branch is not ${DEFAULT_BRANCH}" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
@@ -26,7 +28,7 @@ if [ "${res}" = "n" ]; then
|
||||
fi
|
||||
|
||||
git fetch origin
|
||||
git pull origin master
|
||||
git pull origin "${DEFAULT_BRANCH}"
|
||||
git tag -d v2 || true
|
||||
git pull origin --tags
|
||||
|
||||
@@ -44,5 +46,5 @@ rm -rf ./lib
|
||||
git commit -m "chore(release): Remove build assets [skip ci]"
|
||||
|
||||
TAG_NAME="v$(jq -r '.version' ./package.json)"
|
||||
git push origin master
|
||||
git push origin "${DEFAULT_BRANCH}"
|
||||
git push origin "${TAG_NAME}"
|
||||
|
||||
@@ -4,8 +4,8 @@ export enum Tool {
|
||||
Repo = 'hugo',
|
||||
CmdName = 'hugo',
|
||||
CmdOptVersion = 'version',
|
||||
TestVersionLatest = '0.62.2',
|
||||
TestVersionSpec = '0.61.0'
|
||||
TestVersionLatest = '0.83.1',
|
||||
TestVersionSpec = '0.82.1'
|
||||
}
|
||||
|
||||
export enum Action {
|
||||
|
||||
12
src/get-arch.ts
Normal file
12
src/get-arch.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
export default function getArch(arch: string): string {
|
||||
switch (arch) {
|
||||
case 'x64':
|
||||
return '64bit';
|
||||
case 'arm':
|
||||
return 'ARM';
|
||||
case 'arm64':
|
||||
return 'ARM64';
|
||||
default:
|
||||
throw new Error(`${arch} is not supported`);
|
||||
}
|
||||
}
|
||||
@@ -12,11 +12,7 @@ export function getURL(org: string, repo: string, api: string): string {
|
||||
return url;
|
||||
}
|
||||
|
||||
export async function getLatestVersion(
|
||||
org: string,
|
||||
repo: string,
|
||||
api: string
|
||||
): Promise<string> {
|
||||
export async function getLatestVersion(org: string, repo: string, api: string): Promise<string> {
|
||||
const url = getURL(org, repo, api);
|
||||
const response = await fetch(url);
|
||||
const json = await response.json();
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
export default function getOS(platform: string): string {
|
||||
if (platform === 'linux') {
|
||||
return 'Linux';
|
||||
} else if (platform === 'darwin') {
|
||||
return 'macOS';
|
||||
} else if (platform === 'win32') {
|
||||
return 'Windows';
|
||||
} else {
|
||||
throw new Error(`${platform} is not supported`);
|
||||
switch (platform) {
|
||||
case 'linux':
|
||||
return 'Linux';
|
||||
case 'darwin':
|
||||
return 'macOS';
|
||||
case 'win32':
|
||||
return 'Windows';
|
||||
default:
|
||||
throw new Error(`${platform} is not supported`);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
export default function getURL(
|
||||
os: string,
|
||||
arch: string,
|
||||
extended: string,
|
||||
version: string
|
||||
): string {
|
||||
@@ -21,7 +22,7 @@ export default function getURL(
|
||||
}
|
||||
};
|
||||
|
||||
const hugoName = `hugo_${extendedStr(extended)}${version}_${os}-64bit`;
|
||||
const hugoName = `hugo_${extendedStr(extended)}${version}_${os}-${arch}`;
|
||||
const baseURL = 'https://github.com/gohugoio/hugo/releases/download';
|
||||
const url = `${baseURL}/v${version}/${hugoName}.${ext(os)}`;
|
||||
|
||||
|
||||
12
src/index.ts
12
src/index.ts
@@ -1,8 +1,10 @@
|
||||
import * as core from '@actions/core';
|
||||
import * as main from './main';
|
||||
|
||||
try {
|
||||
main.run();
|
||||
} catch (e) {
|
||||
core.setFailed(`Action failed with error ${e}`);
|
||||
}
|
||||
(async (): Promise<void> => {
|
||||
try {
|
||||
await main.run();
|
||||
} catch (e) {
|
||||
core.setFailed(`Action failed with error ${e.message}`);
|
||||
}
|
||||
})();
|
||||
|
||||
@@ -2,6 +2,7 @@ import * as core from '@actions/core';
|
||||
import * as tc from '@actions/tool-cache';
|
||||
import * as io from '@actions/io';
|
||||
import getOS from './get-os';
|
||||
import getArch from './get-arch';
|
||||
import getURL from './get-url';
|
||||
import * as path from 'path';
|
||||
import {Tool, Action} from './constants';
|
||||
@@ -49,7 +50,10 @@ export async function installer(version: string): Promise<void> {
|
||||
const osName: string = getOS(process.platform);
|
||||
core.debug(`Operating System: ${osName}`);
|
||||
|
||||
const toolURL: string = getURL(osName, extended, version);
|
||||
const archName: string = getArch(process.arch);
|
||||
core.debug(`Processor Architecture: ${archName}`);
|
||||
|
||||
const toolURL: string = getURL(osName, archName, extended, version);
|
||||
core.debug(`toolURL: ${toolURL}`);
|
||||
|
||||
const workDir = await createWorkDir();
|
||||
@@ -59,16 +63,10 @@ export async function installer(version: string): Promise<void> {
|
||||
const toolAssets: string = await tc.downloadTool(toolURL);
|
||||
let toolBin = '';
|
||||
if (process.platform === 'win32') {
|
||||
const toolExtractedFolder: string = await tc.extractZip(
|
||||
toolAssets,
|
||||
tempDir
|
||||
);
|
||||
const toolExtractedFolder: string = await tc.extractZip(toolAssets, tempDir);
|
||||
toolBin = `${toolExtractedFolder}/${Tool.CmdName}.exe`;
|
||||
} else {
|
||||
const toolExtractedFolder: string = await tc.extractTar(
|
||||
toolAssets,
|
||||
tempDir
|
||||
);
|
||||
const toolExtractedFolder: string = await tc.extractTar(toolAssets, tempDir);
|
||||
toolBin = `${toolExtractedFolder}/${Tool.CmdName}`;
|
||||
}
|
||||
await io.mv(toolBin, binDir);
|
||||
|
||||
@@ -9,10 +9,7 @@ export interface ActionResult {
|
||||
output: string;
|
||||
}
|
||||
|
||||
export async function showVersion(
|
||||
cmd: string,
|
||||
args: string[]
|
||||
): Promise<ActionResult> {
|
||||
export async function showVersion(cmd: string, args: string[]): Promise<ActionResult> {
|
||||
const result: ActionResult = {
|
||||
exitcode: 0,
|
||||
output: ''
|
||||
|
||||
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user