Skip to content

Commit ed0dfbd

Browse files
author
Bot
committed
chore: fix build and lint errors and add CI checks
1 parent 6214524 commit ed0dfbd

62 files changed

Lines changed: 2849 additions & 1607 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ main, master ]
6+
pull_request:
7+
branches: [ main, master ]
8+
9+
jobs:
10+
backend-build:
11+
runs-on: ubuntu-latest
12+
defaults:
13+
run:
14+
working-directory: ./backend
15+
steps:
16+
- uses: actions/checkout@v4
17+
- uses: actions/setup-node@v4
18+
with:
19+
node-version: '20'
20+
- run: npm install
21+
- run: npm run build
22+
23+
frontend-build:
24+
runs-on: ubuntu-latest
25+
defaults:
26+
run:
27+
working-directory: ./frontend
28+
steps:
29+
- uses: actions/checkout@v4
30+
- uses: actions/setup-node@v4
31+
with:
32+
node-version: '20'
33+
- run: npm install
34+
- run: npm run build
35+
36+
contracts-build:
37+
runs-on: ubuntu-latest
38+
defaults:
39+
run:
40+
working-directory: ./contracts
41+
steps:
42+
- uses: actions/checkout@v4
43+
- name: Install Rust toolchain
44+
uses: dtolnay/rust-toolchain@stable
45+
with:
46+
components: clippy, rustfmt
47+
- run: cargo fmt --check
48+
- run: cargo clippy -- -D warnings
49+
- run: cargo build

0 commit comments

Comments
 (0)