Skip to content

fix(frontend): 🐛 retrieve ledger & account ids from signer #19

fix(frontend): 🐛 retrieve ledger & account ids from signer

fix(frontend): 🐛 retrieve ledger & account ids from signer #19

name: continuous integration
on:
- push
jobs:
lint_frontend:
runs-on: ubuntu-latest
env:
HEDERA_ACCOUNT_ID: ${{ secrets.HEDERA_ACCOUNT_ID }}
HEDERA_PRIVATE_KEY: ${{ secrets.HEDERA_PRIVATE_KEY }}
HEDERA_ENVIRONMENT: ${{ vars.HEDERA_ENVIRONMENT }}
PUBLIC_HASHCONNECT_PROJECT_ID: ${{ vars.PUBLIC_HASHCONNECT_PROJECT_ID }}
steps:
# setup
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: 22.x
cache: "pnpm"
- run: pnpm install
# script
- run: pnpm -C frontend lint:eslint
- run: pnpm -C frontend lint:prettier
- run: pnpm -C frontend lint:svelte
build_frontend:
runs-on: ubuntu-latest
env:
HEDERA_ACCOUNT_ID: ${{ secrets.HEDERA_ACCOUNT_ID }}
HEDERA_PRIVATE_KEY: ${{ secrets.HEDERA_PRIVATE_KEY }}
HEDERA_ENVIRONMENT: ${{ vars.HEDERA_ENVIRONMENT }}
PUBLIC_HASHCONNECT_PROJECT_ID: ${{ vars.PUBLIC_HASHCONNECT_PROJECT_ID }}
steps:
# setup
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: 22.x
cache: "pnpm"
- run: pnpm install
# script
- run: pnpm -C frontend build