Skip to content

Add DID validation and support existing blob refs for profile images #89

Add DID validation and support existing blob refs for profile images

Add DID validation and support existing blob refs for profile images #89

Workflow file for this run

name: Test
on:
pull_request:
branches: [main, develop]
push:
branches: [main, develop]
jobs:
build-and-test:
runs-on: blacksmith-4vcpu-ubuntu-2404
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
- run: pnpm install
- run: pnpm build
- run: pnpm lint
- run: pnpm typecheck
- run: pnpm format:check
- run: pnpm test
changeset-check:
runs-on: blacksmith-4vcpu-ubuntu-2404
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
- run: pnpm install
- name: Check for changeset
run: |
if git diff --name-only origin/${{ github.base_ref }}...HEAD | grep -q "^packages/"; then
if git diff --name-only origin/${{ github.base_ref }}...HEAD | grep -q "^\.changeset/.*\.md$"; then
echo "Changeset found"
else
echo "::warning::No changeset found. Run 'pnpm changeset' if this PR includes user-facing changes."
fi
else
echo "No package changes detected"
fi