Skip to content

Commit

Permalink
add build step
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaurello committed Jan 23, 2024
1 parent 02de54e commit b8c9a62
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/xcm-wss-endpoints-monitor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 1 addition & 2 deletions scripts/check-websockets.ts
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit b8c9a62

Please sign in to comment.