diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8bbdda5..fcc7335 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,12 +2,13 @@ name: 'Test' on: push: - paths-ignore: - - 'LICENSE' - - 'README.md' - - 'images' - - '.gitignore' - - '.vscode' + paths: + - '**' + - '!LICENSE' + - '!README.md' + - '!images' + - '!.gitignore' + - '!.vscode' jobs: test: diff --git a/README.md b/README.md index 71b861a..2862812 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ We can run Hugo on a virtual machine of GitHub Actions by this Hugo action. Hugo extended version and Hugo Modules are supported. -From `v2.0.0`, this Hugo action 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 less than **3 sec**. (A docker base action was taking about 1 min or more execution time to build or pull.) +From `v2.0.0`, this Hugo action 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 less than **4 sec**. (A docker base action was taking about 1 min or more execution time to build or pull.) | OS (runs-on) | ubuntu-18.04 | macOS-10.14 | windows-2019 | |---|:---:|:---:|:---:| diff --git a/package.json b/package.json index 73f9a04..3901998 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "skipCI": true, "hooks": { "pre-commit": "lint-staged", - "post-commit": "npm run tsc && npm run build && git add ./lib/**/*.js ./node_modules && git commit -m \"deps: Husky commit correct node modules\"" + "post-commit": "npm run tsc && npm run build && echo 'Do not forget to Commit and Push ./lib and ./node_modules'" } }, "lint-staged": {