From 192077cea8d76f5f31f215209d741e64df79351a Mon Sep 17 00:00:00 2001 From: nrslib <38722970+nrslib@users.noreply.github.com> Date: Fri, 20 Feb 2026 13:49:18 +0900 Subject: [PATCH] =?UTF-8?q?ci:=20=E4=BE=9D=E5=AD=98=E3=83=91=E3=83=83?= =?UTF-8?q?=E3=82=B1=E3=83=BC=E3=82=B8=E3=81=AE=E7=A0=B4=E6=90=8D=E3=82=92?= =?UTF-8?q?=E6=A4=9C=E7=9F=A5=E3=81=99=E3=82=8B=E5=AE=9A=E6=9C=9F=E3=83=81?= =?UTF-8?q?=E3=82=A7=E3=83=83=E3=82=AF=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/dependency-check.yml | 47 ++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 .github/workflows/dependency-check.yml diff --git a/.github/workflows/dependency-check.yml b/.github/workflows/dependency-check.yml new file mode 100644 index 0000000..4ea0f20 --- /dev/null +++ b/.github/workflows/dependency-check.yml @@ -0,0 +1,47 @@ +name: Dependency Health Check + +on: + schedule: + - cron: '0 0 * * *' + workflow_dispatch: + +jobs: + fresh-install: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-node@v4 + with: + node-version: '20' + + - name: Install without lockfile + run: | + rm package-lock.json + npm install + + - name: Build + run: npm run build + + - name: Verify CLI startup + run: node bin/takt --version + + - name: Notify Slack on failure + if: failure() + uses: slackapi/slack-github-action@v2.0.0 + with: + webhook-type: incoming-webhook + webhook: ${{ secrets.SLACK_WEBHOOK_URL }} + payload: | + { + "text": "⚠️ Dependency health check failed", + "blocks": [ + { + "type": "section", + "text": { + "type": "mrkdwn", + "text": "*⚠️ Dependency Health Check Failed*\nA dependency may have published a broken version.\n<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|View logs>" + } + } + ] + }