Skip to content

test

test #5

Workflow file for this run

name: Pull Request
on:
pull_request:
branches: [main]
paths-ignore:
- "docs/**"
- "**.md"
- ".vscode/**"
- ".idea/**"
permissions:
contents: read
packages: read
jobs:
build-dapp:
name: Dapp
uses: ./.github/workflows/node-ci.yml
with:
working-directory: ./src/dapp
run-build: true
audit-script: npm run audit --audit-level=high
build-xgov-dapp:
name: xGov Dapp
uses: ./.github/workflows/node-ci.yml
with:
working-directory: ./src/xgov-dapp
pre-run-script: cd ../dapp && npm ci
audit-script: npm run audit --audit-level=high
run-dispatch: true
chromatic-token: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}

Check failure on line 32 in .github/workflows/pr.yml

View workflow run for this annotation

GitHub Actions / Pull Request

Invalid workflow file

The workflow is not valid. .github/workflows/pr.yml (Line: 32, Col: 24): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.CHROMATIC_PROJECT_TOKEN
secrets:
npm-auth-token: ${{ secrets.GITHUB_TOKEN }}
build-api:
name: Api
uses: ./.github/workflows/node-ci.yml
with:
node-version: 18.x
working-directory: ./src/voting-metadata-api
run-build: true
audit-script: npm run audit --audit-level=high
build-algorand:
name: Algorand build
uses: ./.github/workflows/smart-contract-ci.yml
with:
working-directory: ./src/algorand
build-infrastructure:
name: Infrastructure
uses: ./.github/workflows/node-ci.yml
with:
working-directory: ./infrastructure
run-build: true
audit-script: npm run audit --audit-level=high