diff --git a/.changeset/soft-garlics-do.md b/.changeset/soft-garlics-do.md new file mode 100644 index 000000000..0b1175d9b --- /dev/null +++ b/.changeset/soft-garlics-do.md @@ -0,0 +1,4 @@ +--- +--- + +chore(infra): fix release triggers diff --git a/.github/workflows/ci-checks.yaml b/.github/workflows/ci-checks.yaml index 83acade33..307fced13 100644 --- a/.github/workflows/ci-checks.yaml +++ b/.github/workflows/ci-checks.yaml @@ -6,6 +6,11 @@ on: - opened - synchronize - reopened + # Trigger after the 'Release' workflow completes + workflow_run: + workflows: ["Release"] + types: + - completed env: HUSKY: 0 diff --git a/.gitignore b/.gitignore index 5abebc449..d65ef9690 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ node_modules npm-debug.log* build dist +vite.config.*.timestamp-* # act artifacts needed for testing workflows .secrets diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 000000000..8d1abd2f4 --- /dev/null +++ b/.prettierignore @@ -0,0 +1,7 @@ +# Ignore the .changeset directory +.changeset + +# You can also ignore other files or directories if needed +node_modules +dist +build \ No newline at end of file diff --git a/package.json b/package.json index a17266cd7..811fbe0fc 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,8 @@ "lint": "turbo run lint", "test": "turbo run test --concurrency=20", "check-licenses": "npx license-checker-rseidelsohn --summary --excludePrivatePackages --onlyAllow 'MIT;ISC;Apache-2.0;BSD-2-Clause;BSD-3-Clause;BSD-4-Clause;CC-BY-3.0;CC-BY-4.0;BlueOak-1.0.0;CC0-1.0;0BSD;Python-2.0;BSD*;Unlicense'", - "clean": "turbo run clean && rm -rf node_modules && rm -rf ./**/*/node_modules", + "cleanVite": "find . -type f -name 'vite.config.*.timestamp-*' -ls -delete 2>/dev/null", + "clean": "npm run cleanVite && turbo run clean && rm -rf node_modules && rm -rf ./**/*/node_modules", "typecheck": "turbo run typecheck", "format": "prettier --write \"**/*.{js,jsx,ts,tsx,md}\"", "check-format": "prettier --config ./.prettierrc --check \"**/*.{js,jsx,ts,tsx,md}\" ",