Skip to content

chore(github): 🤖 fix: configure environment via secrets & variables #7

chore(github): 🤖 fix: configure environment via secrets & variables

chore(github): 🤖 fix: configure environment via secrets & variables #7

name: continuous integration
on:
- push
jobs:
lint_frontend:
runs-on: ubuntu-latest
secrets:

Check failure on line 9 in .github/workflows/continuousIntgration.yml

View workflow run for this annotation

GitHub Actions / continuous integration

Invalid workflow file

The workflow is not valid. .github/workflows/continuousIntgration.yml (Line: 9, Col: 5): Unexpected value 'secrets' .github/workflows/continuousIntgration.yml (Line: 13, Col: 27): Unrecognized named-value: 'env'. Located at position 1 within expression: env.HEDERA_ENVIRONMENT
HEDERA_ACCOUNT_ID: ${{ secrets.HEDERA_ACCOUNT_ID }}
HEDERA_PRIVATE_KEY: ${{ secrets.HEDERA_PRIVATE_KEY }}
env:
HEDERA_ENVIRONMENT: ${{ env.HEDERA_ENVIRONMENT }}
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
secrets:
HEDERA_ACCOUNT_ID: ${{ secrets.HEDERA_ACCOUNT_ID }}
HEDERA_PRIVATE_KEY: ${{ secrets.HEDERA_PRIVATE_KEY }}
env:
HEDERA_ENVIRONMENT: ${{ env.HEDERA_ENVIRONMENT }}
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