Skip to content

Commit f951ae4

Browse files
authored
Merge pull request #19 from graphprotocol/mde/json-oracle-encoder
feat: json-encoder-web for oracle configuration transaction to DataEdge
2 parents 25c9ae7 + b7a3269 commit f951ae4

File tree

25 files changed

+9534
-16
lines changed

25 files changed

+9534
-16
lines changed

.github/workflows/web-encoder.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Deploy to GH Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
deploy:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v2
17+
- name: Install Node.js
18+
uses: actions/setup-node@v3
19+
with:
20+
node-version: latest
21+
cache: "npm"
22+
cache-dependency-path: json-encoder-web/package-lock.json
23+
- run: npm install
24+
working-directory: json-encoder-web
25+
- run: npm run build
26+
working-directory: json-encoder-web
27+
- name: Deploy to GH Pages 🚀
28+
uses: JamesIves/github-pages-deploy-action@v4
29+
with:
30+
folder: json-encoder-web/dist

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Generated by Cargo
22
# will have compiled files and executables
3-
/target/
3+
target/
44

55
# These are backup files generated by rustfmt
66
**/*.rs.bk
@@ -17,3 +17,7 @@
1717
# IDEs
1818
/.vscode
1919
/.idea
20+
21+
# Ignore node stuff
22+
node_modules/
23+
yarn-error.log

Cargo.lock

Lines changed: 101 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[workspace]
22
members = [
3-
"common",
4-
"availability-oracle",
3+
"crates/*",
4+
"availability-oracle"
55
]

availability-oracle/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ edition = "2018"
77
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
88

99
[dependencies]
10-
common = { path = "../common" }
10+
common = { path = "../crates/common" }
1111
async-trait = "0.1.50"
1212
tokio = { version = "1.10", features = ["macros", "sync", "time"] }
1313
serde_yaml = "0.9.31"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)