diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7c9d49a..4a391b4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,21 +3,44 @@ name: CI on: pull_request: branches: [main, master] - push: - branches: [main, master] jobs: code-quality: name: Code Quality uses: ./.github/workflows/code-quality.yml - test: - name: Test + build-test: + name: Build Test uses: ./.github/workflows/build-test.yml with: test_matrix: '["ubuntu-latest", "windows-latest", "macos-latest"]' secrets: inherit + dependency-check: + name: Dependency Check + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup Node.js and pnpm + uses: ./.github/actions/setup-node-pnpm + + - name: Check for outdated dependencies + run: | + echo "📦 Checking for outdated dependencies..." + pnpm outdated || echo "✅ All dependencies are up to date" + + - name: Check for unused dependencies + run: | + echo "🔍 Checking for unused dependencies..." + npx depcheck || echo "⚠️ Some dependencies might be unused" + + - name: Security audit + run: | + echo "🔒 Running security audit..." + pnpm audit --audit-level moderate || echo "⚠️ Security vulnerabilities found" + security: name: Security Check runs-on: ubuntu-latest diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml deleted file mode 100644 index 9fccacb..0000000 --- a/.github/workflows/pr-check.yml +++ /dev/null @@ -1,42 +0,0 @@ -name: PR Check - -on: - pull_request: - branches: [main, master] - -jobs: - code-quality: - name: Code Quality - uses: ./.github/workflows/code-quality.yml - - dependency-check: - name: Dependency Check - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Setup Node.js and pnpm - uses: ./.github/actions/setup-node-pnpm - - - name: Check for outdated dependencies - run: | - echo "📦 Checking for outdated dependencies..." - pnpm outdated || echo "✅ All dependencies are up to date" - - - name: Check for unused dependencies - run: | - echo "🔍 Checking for unused dependencies..." - npx depcheck || echo "⚠️ Some dependencies might be unused" - - - name: Security audit - run: | - echo "🔒 Running security audit..." - pnpm audit --audit-level moderate || echo "⚠️ Security vulnerabilities found" - - build-test: - name: Build Test - uses: ./.github/workflows/build-test.yml - with: - test_matrix: '["ubuntu-latest", "windows-latest", "macos-latest"]' - secrets: inherit diff --git a/.release-please-config.json b/.release-please-config.json index ffa124d..af61ed3 100644 --- a/.release-please-config.json +++ b/.release-please-config.json @@ -9,6 +9,7 @@ "bump-minor-pre-major": false, "bump-patch-for-minor-pre-major": false, "draft": false, + "skip-github-release": true, "changelog-types": [ { "type": "feat",