-
Notifications
You must be signed in to change notification settings - Fork 53
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
166 changed files
with
14,574 additions
and
12,675 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,66 @@ | ||
version: 2.1 | ||
jobs: | ||
install: | ||
docker: | ||
- image: cimg/node:16.18.0 | ||
working_directory: ~/relayer-v2 | ||
resource_class: medium+ | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
name: Restore Yarn Package Cache | ||
keys: | ||
- cache-node-v1-{{ checksum "yarn.lock" }} | ||
- run: | ||
name: Install Dependencies | ||
command: yarn install --immutable | ||
- save_cache: | ||
name: Save Yarn Package Cache | ||
key: cache-node-v1-{{ checksum "yarn.lock" }} | ||
paths: | ||
- node_modules | ||
test: | ||
docker: | ||
- image: cimg/node:16.18.0 | ||
working_directory: ~/relayer-v2 | ||
resource_class: medium+ | ||
parallelism: 20 | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
name: Restore Yarn Package Cache | ||
keys: | ||
- cache-node-v1-{{ checksum "yarn.lock" }} | ||
- run: | ||
name: Run build | ||
command: yarn build | ||
- run: | ||
name: Run tests | ||
command: | | ||
circleci tests glob "test/**/*.ts" | circleci tests split > /tmp/test-files | ||
yarn test --bail $(cat /tmp/test-files) | ||
lint: | ||
docker: | ||
- image: cimg/node:16.18.0 | ||
working_directory: ~/relayer-v2 | ||
resource_class: medium+ | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
name: Restore Yarn Package Cache | ||
keys: | ||
- cache-node-v1-{{ checksum "yarn.lock" }} | ||
- run: | ||
name: Run lint | ||
command: yarn lint | ||
workflows: | ||
version: 2.1 | ||
build_and_test: | ||
jobs: | ||
- install | ||
- test: | ||
requires: | ||
- install | ||
- lint: | ||
requires: | ||
- install |
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 |
---|---|---|
@@ -1,17 +1,14 @@ | ||
# TODO: Re-Enable after @uma/* projects are updated to use the newer version of their vulnerable dependencies | ||
# : This disabled file was signed-off by @nicholaspai during a huddle between @james-a-morris, @nicholaspai, and @pxrl | ||
name: "Dependency Review" | ||
on: [pull_request] | ||
|
||
# name: "Dependency Review" | ||
# on: [pull_request] | ||
permissions: | ||
contents: read | ||
|
||
# permissions: | ||
# contents: read | ||
|
||
# jobs: | ||
# dependency-review: | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - name: "Checkout Repository" | ||
# uses: actions/checkout@v3 | ||
# - name: "Dependency Review" | ||
# uses: actions/[email protected] | ||
jobs: | ||
dependency-review: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: "Checkout Repository" | ||
uses: actions/checkout@v3 | ||
- name: "Dependency Review" | ||
uses: actions/[email protected] |
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 |
---|---|---|
@@ -1,13 +1,17 @@ | ||
# dotfiles are ignored by default and must be added explicitly. Use | ||
# `git add -f <dotfile>` add a dotfile. Only do this for public files. | ||
.* | ||
|
||
node_modules | ||
.env | ||
coverage | ||
coverage.json | ||
typechain* | ||
.DS_Store | ||
dump.rdb* | ||
.idea | ||
|
||
# Hardhat files | ||
cache | ||
artifacts | ||
dist | ||
|
||
# Debugging files | ||
*.log |
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.