Skip to content

feat: add bridge command for cross-chain transfers #334

feat: add bridge command for cross-chain transfers

feat: add bridge command for cross-chain transfers #334

Workflow file for this run

name: CI
on:
push:
pull_request:
permissions:
contents: read
jobs:
validate-changesets:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Validate changeset files have version bump
run: |
invalid_files=""
for file in .changeset/*.md; do
# skip config and README
[ "$(basename "$file")" = "README.md" ] && continue
[ ! -f "$file" ] && continue
# check that frontmatter contains a package bump (line between --- markers with a colon)
if ! awk '/^---$/{n++; next} n==1' "$file" | grep -q ':'; then
invalid_files="$invalid_files $file"
fi
done
if [ -n "$invalid_files" ]; then
echo "::error::The following changeset files are missing a version bump (patch/minor/major):$invalid_files"
echo "Each changeset file must specify at least one package with a bump type, e.g.:"
echo ' ---'
echo ' "@alchemy/cli": patch'
echo ' ---'
exit 1
fi
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4.3.0
- uses: actions/setup-node@v6
with:
node-version: 24
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm run lint
- run: pnpm run build
- run: pnpm test