-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cleanup: resources & type errors (#19)
* fix: type errors * move+refacto: campaigns * move: chain files into modules * clean: tags * move: token code * fix: tags * cleanup: tokens * fix: type errors * cleanup * clean * fix: lint * update: dappkit * update: lint * update: lint * update: workflow * update: workflow * remove: extension * split: workflow * link runner * update * fix * fix: steps * fix * fix * update: dappkit * update: dappkit * fix: dappkit * update: dappkit * split: checks VM
- Loading branch information
Showing
96 changed files
with
990 additions
and
974 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 |
---|---|---|
@@ -1,25 +1,73 @@ | ||
name: test code quality | ||
name: Check code quality | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
install-dependencies: | ||
if: ${{ always() }} | ||
runs-on: ubuntu-latest | ||
name: 'Dependencies' | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Set up Bun | ||
uses: oven-sh/setup-bun@v2 | ||
with: | ||
bun-version: latest | ||
|
||
- name: Check dependencies | ||
run: bun install | ||
|
||
check-lint: | ||
name: 'Linting' | ||
needs: install-dependencies | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Set up Bun | ||
uses: oven-sh/setup-bun@v2 | ||
with: | ||
bun-version: latest | ||
|
||
- name: Check dependencies | ||
run: bun install | ||
|
||
- name: Check codebase linting | ||
run: bun lint:ci | ||
|
||
check-type: | ||
name: 'Typing' | ||
runs-on: ubuntu-latest | ||
needs: check-lint | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Set up Bun | ||
uses: oven-sh/setup-bun@v1 | ||
uses: oven-sh/setup-bun@v2 | ||
with: | ||
bun-version: latest | ||
- name: Install dependencies | ||
|
||
- name: Check dependencies | ||
run: bun install | ||
- name: Lint merkl-api codebase | ||
run: bun lint:ci | ||
|
||
- name: Check codebase typing | ||
run: bun typecheck |
1 change: 1 addition & 0 deletions
1
dist/merkl-app-core/src/packages/merkl-app-core/tsconfig.tsbuildinfo
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
Submodule dappkit
updated
14 files
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,3 +1,5 @@ | ||
//TODO: embed this in merkl config | ||
//@ts-ignore | ||
import clientEn from "../../../../I18n/en"; | ||
|
||
const en = { | ||
|
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.