From b35bd071ba390de3ebd56879d5bed57b0f343074 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Zorro?= Date: Thu, 7 Mar 2024 12:01:20 -0500 Subject: [PATCH] ci(general): fixed error with release script being triggered --- .github/workflows/main.yaml | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 9f0543f..ddbd7ae 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -97,6 +97,7 @@ jobs: with: path: ./dist - run: scripts/release.sh + if: startsWith(github.ref, 'refs/tags/') - name: Release uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/') diff --git a/package.json b/package.json index dd97330..e8b6794 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "signal-exit": "3.x" }, "lint-staged": { - "*": ["bun biome ci"], + "*.{json,ts,js,mjs,mts}": ["bun biome ci"], "*.{ts,mjs}": ["bun test:ci"] } }