diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 345c4f3..79427ea 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -24,6 +24,7 @@ jobs: - uses: stefanzweifel/git-auto-commit-action@v4.11.0 with: file_pattern: dist/** + add_options: -u --force commit_message: 'chore(dist): Update dist [automated commit]' commit_user_name: cobraz commit_user_email: cobraz@users.noreply.github.com diff --git a/.gitignore b/.gitignore index 18e337d..a9630a4 100644 --- a/.gitignore +++ b/.gitignore @@ -96,4 +96,6 @@ Thumbs.db # Ignore built ts files __tests__/runner/* -lib/**/* \ No newline at end of file +lib/**/* + +dist diff --git a/package.json b/package.json index d48f2fe..a6096d9 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ }, "husky": { "hooks": { - "pre-commit": "yarn build && git add dist/* && lint-staged" + "pre-commit": "lint-staged" } }, "lint-staged": {