-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: update gh actions and package.json (#8)
- Loading branch information
1 parent
3c48db7
commit d2cc157
Showing
7 changed files
with
56 additions
and
19 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,33 @@ | ||
name: Linting | ||
|
||
on: pull_request | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup bun | ||
uses: oven-sh/setup-bun@v1 | ||
|
||
- name: Install dependencies | ||
run: bun install | ||
|
||
- name: Format files | ||
run: bun run format | ||
|
||
- name: Check for changes | ||
run: | | ||
if [ -n "$(git status --porcelain)" ]; then | ||
echo Following files are changed by the formatter... | ||
git status | ||
echo Changes: | ||
git diff | ||
exit 1; | ||
else | ||
exit 0; | ||
fi |
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 |
---|---|---|
|
@@ -129,4 +129,4 @@ dist | |
.yarn/install-state.gz | ||
.pnp.* | ||
|
||
.DS_Store | ||
.DS_Store |
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,30 +1,30 @@ | ||
# public-chain-configs | ||
# Axelar configs | ||
|
||
A public registry for chains and asset configurations | ||
A public registry for chains and asset configurations for applications built on the Axelar network. | ||
|
||
## Getting started | ||
|
||
Before we begin, make sure your system has the minimum runtime requirements: | ||
|
||
- [git](https://git-scm.com/downloads) | ||
- [bun](https://bun.sh/) >= 1.0 | ||
- [bun](https://bun.sh/) >= 1.0 OR [npm](https://docs.npmjs.com/) | ||
|
||
To install `bun`, run the following command: | ||
|
||
```bash | ||
curl -fsSL https://bun.sh/install | bash | ||
``` | ||
|
||
Once you have `nodejs` and `bun`, you can clone this repository: | ||
Once you have `bun` or `nodejs` installed, you can clone this repository: | ||
|
||
```bash | ||
git clone [email protected]:axelarnetwork/public-chain-configs.git | ||
git clone [email protected]:axelarnetwork/axelar-configs.git | ||
``` | ||
|
||
cd into the folder | ||
|
||
```bash | ||
cd public-chain-configs | ||
cd axelar-configs | ||
``` | ||
|
||
Install dependencies | ||
|
Binary file not shown.
Binary file not shown.
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