⬆️(deps-dev): Bump @typescript-eslint/eslint-plugin from 7.18.0 to 8.25.0 #6
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "20" | |
cache: "npm" | |
- name: Install dependencies | |
run: npm ci | |
- name: Check types | |
run: npx tsc --noEmit | |
- name: Lint | |
run: npm run lint | |
- name: Format check | |
run: npx prettier --check . | |
- name: Build | |
run: npm run build | |
- name: Cache validation | |
run: | | |
if [ -f ".next/cache" ]; then | |
echo "Next.js cache exists ✅" | |
else | |
echo "Next.js cache missing ❌" | |
exit 1 | |
fi | |
- name: Send Slack Notification | |
if: always() | |
uses: slackapi/[email protected] | |
with: | |
payload: | | |
{ | |
"text": "*CI実行結果*", | |
"blocks": [ | |
{ | |
"type": "section", | |
"text": { | |
"type": "mrkdwn", | |
"text": "*${{ github.repository }}* のCI結果:\n${{ job.status == 'success' && '✅ すべてのチェックが通過しました' || '❌ いくつかのチェックが失敗しました' }}" | |
} | |
}, | |
{ | |
"type": "section", | |
"fields": [ | |
{ | |
"type": "mrkdwn", | |
"text": "*ブランチ:*\n${{ github.ref_name }}" | |
}, | |
{ | |
"type": "mrkdwn", | |
"text": "*コミット:*\n${{ github.sha }}" | |
} | |
] | |
} | |
] | |
} | |
env: | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} | |
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK |