Skip to content

Merge pull request #231 from Trovic1/fix/toast-a11y-live-region #210

Merge pull request #231 from Trovic1/fix/toast-a11y-live-region

Merge pull request #231 from Trovic1/fix/toast-a11y-live-region #210

Workflow file for this run

name: CI Build & Verify
on:
workflow_dispatch:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
verify-frontend-and-sdk:

Check failure on line 11 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

You have an error in your yaml syntax on line 11
name: Verify TypeScript Frontend & SDK
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10
- name: Install Dependencies
run: pnpm install --frozen-lockfile
- name: Build Packages (SDK & Web App)
run: pnpm build
- name: Run Unit Tests
run: pnpm test
- name: Lint Web Application
run: pnpm --filter web lint
- name: Check Formatting
run: npx prettier --check .
- name: Check Formatting
run: npx prettier --check .
verify-go-indexer:
name: Verify Go Indexer & API
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.22"
- name: Get Dependencies
run: |
cd indexer
go mod download
- name: Compile Go Services
run: |
cd indexer
go build -v ./...
- name: Test Go Services
run: |
cd indexer
go test -v ./...
- name: Lint Go Services
run: |
cd indexer
go vet ./...
- name: Check Go Formatting
run: |
cd indexer
if [ -n "$(gofmt -l .)" ]; then
echo "The following files are not formatted:"
gofmt -l .
exit 1
fi