Skip to content

Commit

Permalink
setup monorepo
Browse files Browse the repository at this point in the history
  • Loading branch information
auryn-macmillan committed May 16, 2024
1 parent 11c67ec commit 3b6ac3f
Show file tree
Hide file tree
Showing 29 changed files with 815 additions and 366 deletions.
2 changes: 0 additions & 2 deletions .github/FUNDING.yml

This file was deleted.

20 changes: 14 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,25 +29,33 @@ jobs:
- name: "Check out the repo"
uses: "actions/checkout@v4"

- name: "Install Bun"
uses: "oven-sh/setup-bun@v1"
- name: "Setup node"
uses: actions/setup-node@v2
with:
node-version: 20

- name: Cache node modules
uses: actions/cache@v2
with:
path: "**/node_modules"
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}

- name: "Install the dependencies"
run: "bun install"
run: "yarn install"

- name: "Lint the code"
run: "bun run lint"
run: "yarn lint"

- name: "Add lint summary"
run: |
echo "## Lint results" >> $GITHUB_STEP_SUMMARY
echo "✅ Passed" >> $GITHUB_STEP_SUMMARY
- name: "Compile the contracts and generate the TypeChain bindings"
run: "bun run typechain"
run: "yarn typechain"

- name: "Test the contracts and generate the coverage report"
run: "bun run coverage"
run: "yarn coverage"

- name: "Add test summary"
run: |
Expand Down
52 changes: 0 additions & 52 deletions .github/workflows/create.yml

This file was deleted.

23 changes: 1 addition & 22 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,22 +1 @@
# directories
.coverage_artifacts
.coverage_cache
.coverage_contracts
artifacts
build
cache
coverage
dist
node_modules
types
deployments

# files
*.env
*.log
.DS_Store
.pnp.*
coverage.json
package-lock.json
pnpm-lock.yaml
yarn.lock
node_modules
Loading

0 comments on commit 3b6ac3f

Please sign in to comment.