diff --git a/.github/workflows/xcm-wss-endpoints-monitor.yml b/.github/workflows/xcm-wss-endpoints-monitor.yml index 095d07d3..16680f50 100644 --- a/.github/workflows/xcm-wss-endpoints-monitor.yml +++ b/.github/workflows/xcm-wss-endpoints-monitor.yml @@ -23,9 +23,12 @@ jobs: - name: Update npm run: npm i -g npm@9 + - name: 🛠️ Build + run: npm run build + - name: ⬇️ install run: npm ci --ignore-scripts # TODO remove --include-test-chains - - name: 💻 Run script with ts-node + - name: 💻 Run script run: npx bun ./scripts/check-websockets.ts --slack-wh=${{ secrets.SLACK_WEBHOOK_URL }} --include-test-chains diff --git a/scripts/check-websockets.ts b/scripts/check-websockets.ts index 78b0ee43..9023cbe2 100644 --- a/scripts/check-websockets.ts +++ b/scripts/check-websockets.ts @@ -1,9 +1,8 @@ /* eslint-disable import/no-extraneous-dependencies */ /* eslint-disable no-console */ +import { chainsList } from '@moonbeam-network/xcm-config'; import { IncomingWebhook } from '@slack/webhook'; import WebSocket from 'ws'; -// eslint-disable-next-line import/no-relative-packages -import { chainsList } from '../packages/config/src'; function procesArgs() { const args = process.argv;