Skip to content

Commit

Permalink
(operate) chore: add github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Atatakai authored and Atatakai committed Aug 23, 2024
1 parent 74cc103 commit 0987cb8
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 9 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/operate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# TODO: figure out how to trigger workflow from vercel for nx

name: Operate
on:
push:
branches:
- main
paths:
- 'apps/operate/**'
pull_request:
branches:
- main
paths:
- 'apps/operate/**'

jobs:
build:
continue-on-error: False
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Install modules
run: yarn
- name: Run ESLint
run: yarn nx lint operate
10 changes: 2 additions & 8 deletions apps/operate/components/Agents.tsx
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
import {
BulbFilled,
DownOutlined,
PlayCircleOutlined,
RightOutlined,
RobotOutlined,
} from '@ant-design/icons';
import { BulbFilled, PlayCircleOutlined, RobotOutlined } from '@ant-design/icons';
import { Button, Card, Col, Row, Typography } from 'antd';
import Image from 'next/image';
import styled from 'styled-components';

import { BREAK_POINT, COLOR } from 'libs/ui-theme/src';

const { Title, Paragraph, Text } = Typography;
const { Title, Paragraph } = Typography;

const StyledMain = styled.main`
display: flex;
Expand Down
1 change: 0 additions & 1 deletion apps/operate/components/Contracts/hooks.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { ethers } from 'ethers';
import { useMemo } from 'react';
import { StakingContract } from 'types';
import { Abi, Address, formatEther } from 'viem';
Expand Down

0 comments on commit 0987cb8

Please sign in to comment.