XCM WS endpoints monitor #17783
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: XCM WS endpoints monitor | |
on: | |
workflow_dispatch: | |
schedule: | |
# Runs every 30 minutes | |
- cron: '*/30 * * * *' | |
jobs: | |
run_script: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🤘 checkout | |
uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
- uses: oven-sh/setup-bun@v1 | |
- name: ⚙ Setup Node.js environment | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
cache: 'pnpm' | |
- name: ⬇️ install | |
run: pnpm install --ignore-scripts | |
- name: 🛠️ Build | |
run: pnpm run build | |
- name: 💻 Run script | |
run: bun ./scripts/check-websockets.ts --slack-wh=${{ secrets.SLACK_WEBHOOK_URL }} |