Skip to content

chore(funder): source dedicated funder seed from env secret #696

chore(funder): source dedicated funder seed from env secret

chore(funder): source dedicated funder seed from env secret #696

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
jobs:
format:
name: Format
runs-on: ${{ github.repository_owner == 'paritytech' && 'parity-default' || 'ubuntu-latest' }}
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: "22"
- run: pnpm install
- run: pnpm format:check
- name: No @polkadot-apps/* imports in tracked source
run: |
# Match quoted module specifiers only ("@polkadot-apps/" or
# '@polkadot-apps/'), so explanatory prose / markdown that
# references the legacy package name in backticks doesn't
# trip the guard. Direct imports always quote the module path.
if grep -rnE "['\"]@polkadot-apps/" src/ e2e/ scripts/ tools/; then
echo "::error::Direct @polkadot-apps/* imports are not allowed — migrate to @parity/product-sdk-*"
exit 1
fi
- name: No @dotdm/* imports in tracked source
run: |
# @dotdm/* contract packages were migrated to @parity/cdm-*.
# Match quoted module specifiers only, so prose/backticks that
# reference the legacy name don't trip the guard.
if grep -rnE "['\"]@dotdm/" src/ e2e/ scripts/ tools/; then
echo "::error::Direct @dotdm/* imports are not allowed — use @parity/cdm-*"
exit 1
fi
typecheck:
name: Typecheck
runs-on: ${{ github.repository_owner == 'paritytech' && 'parity-default' || 'ubuntu-latest' }}
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: "22"
- run: pnpm install
- run: pnpm typecheck
unit-tests:
name: Unit Tests
runs-on: ${{ github.repository_owner == 'paritytech' && 'parity-default' || 'ubuntu-latest' }}
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: "22"
- run: pnpm install
- run: pnpm test