-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
582 changed files
with
193,209 additions
and
25,789 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: DEX-UI | ||
|
||
on: | ||
pull_request: | ||
types: [opened, synchronize] | ||
paths: | ||
- "projects/dex-ui/**" | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Node Install | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: "16" | ||
- name: Cache Node Modules | ||
id: node-modules-cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: "**/node_modules" | ||
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} | ||
- name: Install Dependencies | ||
if: steps.node-modules-cache.outputs.cache-hit != 'true' | ||
run: yarn install --immutable | ||
- name: Build SDKs | ||
run: yarn build | ||
- name: Confirm DEX-UI Build | ||
run: yarn workspace dex-ui build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: SDK Core | ||
|
||
on: | ||
pull_request: | ||
types: [opened, synchronize] | ||
paths: | ||
- "projects/sdk-core/**" | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: SDK Core Tests | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: "16" | ||
- name: Cache Node Modules | ||
id: node-modules-cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: "**/node_modules" | ||
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} | ||
- name: Install Dependencies | ||
if: steps.node-modules-cache.outputs.cache-hit != 'true' | ||
run: yarn install --immutable | ||
- name: Install rust | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: stable | ||
target: wasm32-unknown-unknown | ||
profile: minimal | ||
override: true | ||
- name: Install Anvil | ||
uses: foundry-rs/foundry-toolchain@v1 | ||
with: | ||
version: nightly | ||
- name: Launch Anvil | ||
run: anvil --fork-url $ANVIL_FORK_URL --chain-id 1337 & | ||
env: | ||
ANVIL_FORK_URL: ${{ secrets.ANVIL_FORK_URL }} | ||
- name: Build All | ||
run: yarn build | ||
- name: Test SDK Core | ||
run: yarn sdk-core:test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: Wells SDK | ||
|
||
on: | ||
pull_request: | ||
types: [opened, synchronize] | ||
paths: | ||
- "projects/sdk-wells/**" | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: SDK Wells Tests | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: "16" | ||
- name: Cache Node Modules | ||
id: node-modules-cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: "**/node_modules" | ||
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} | ||
- name: Install Dependencies | ||
if: steps.node-modules-cache.outputs.cache-hit != 'true' | ||
run: yarn install --immutable | ||
- name: Generate Typedefs | ||
run: yarn sdk:generate | ||
- name: Install rust | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: stable | ||
target: wasm32-unknown-unknown | ||
profile: minimal | ||
override: true | ||
- name: Install Anvil | ||
uses: foundry-rs/foundry-toolchain@v1 | ||
with: | ||
version: nightly | ||
- name: Launch Anvil | ||
run: anvil --fork-url $ANVIL_FORK_URL --chain-id 1337 & | ||
env: | ||
ANVIL_FORK_URL: ${{ secrets.ANVIL_FORK_URL }} | ||
- name: Build All | ||
run: yarn build | ||
- name: Run Tests | ||
run: yarn sdk-wells:test | ||
working-directory: projects/sdk-wells |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.