Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: hyperlane-xyz/hyperlane-registry
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v5.0.1
Choose a base ref
...
head repository: hyperlane-xyz/hyperlane-registry
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Loading
Showing 830 changed files with 17,699 additions and 3,373 deletions.
5 changes: 5 additions & 0 deletions .changeset/grumpy-maps-tan.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@hyperlane-xyz/registry': minor
---

Add SMOL config and metadata
25 changes: 18 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -27,13 +27,13 @@ jobs:
# Check out the lockfile from main, reinstall, and then
# verify the lockfile matches what was committed.
run: |
yarn install
CHANGES=$(git status -s)
if [[ ! -z $CHANGES ]]; then
echo "Changes found: $CHANGES"
git diff
exit 1
fi
yarn install
CHANGES=$(git status -s)
if [[ ! -z $CHANGES ]]; then
echo "Changes found: $CHANGES"
git diff
exit 1
fi
build:
runs-on: ubuntu-latest
@@ -97,6 +97,17 @@ jobs:
- name: test
run: yarn run test:unit

- name: validate-file-path
run: |
node ./scripts/validate-file-path.js
- name: validate-svg
run: |
node ./scripts/validate-svg.js
- name: validate-file-data
run: |
node ./scripts/validate-file-data.js
# health:
# runs-on: ubuntu-latest
18 changes: 10 additions & 8 deletions .github/workflows/combine.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: combine

on:
pull_request:
push:
branches:
- main
# Allows you to run this workflow manually
workflow_dispatch:

@@ -25,13 +27,13 @@ jobs:

- name: yarn-install
run: |
yarn install
CHANGES=$(git status -s)
if [[ ! -z $CHANGES ]]; then
echo "Changes found: $CHANGES"
git diff
exit 1
fi
yarn install
CHANGES=$(git status -s)
if [[ ! -z $CHANGES ]]; then
echo "Changes found: $CHANGES"
git diff
exit 1
fi
- name: foundry-install
uses: foundry-rs/foundry-toolchain@v1
61 changes: 61 additions & 0 deletions .github/workflows/optimize-svg.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: optimize-svg

on:
push:
branches:
- main
# Allows you to run this workflow manually
workflow_dispatch:

jobs:
optimize:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref || 'main' }}
# This action secret contains a fine-grained personal access token with permissions to read/write repo content
# It is necessary because the default GITHUB_TOKEN cannot re-trigger workflows after pushing
token: ${{ secrets.COMBINE_CI_TOKEN || secrets.GITHUB_TOKEN }}

- uses: actions/cache@v4
with:
path: |
**/node_modules
.yarn/cache
key: ${{ runner.os }}-yarn-cache-${{ hashFiles('./yarn.lock') }}

- name: yarn-install
run: |
yarn install
CHANGES=$(git status -s)
if [[ ! -z $CHANGES ]]; then
echo "Changes found: $CHANGES"
git diff
exit 1
fi
- name: setup-node
uses: actions/setup-node@v4
with:
node-version: 20

- name: optimize-svgs
run: |
node ./scripts/optimize-svg.js
- name: configure-git
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
- name: commit-changes
run: |
CHANGES=$(git status -s)
if [[ ! -z $CHANGES ]]; then
git add .
git commit -m "Optimize SVG files"
git push
else
echo "No changes to commit."
fi
Loading