Skip to content

feat(explorer): local indexer inside explorer #10097

feat(explorer): local indexer inside explorer

feat(explorer): local indexer inside explorer #10097

Workflow file for this run

name: Examples

Check failure on line 1 in .github/workflows/examples.yml

View workflow run for this annotation

GitHub Actions / Examples

Invalid workflow file

The workflow is not valid. .github/workflows/examples.yml: The value '0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80' on line 28 and column 20 is invalid for the type 'tag:yaml.org,2002:int'
on:
push:
branches:
- main
paths-ignore:
- "docs/**"
pull_request:
paths-ignore:
- "docs/**"
env:
# Fix OOM errors with sourcemaps in phaser client
# https://github.com/latticexyz/mud/issues/1019
NODE_OPTIONS: --max-old-space-size=8192
jobs:
main:
name: Build/test examples
runs-on: ubuntu-latest
strategy:
matrix:
example: [minimal, multiple-namespaces, custom-world]
env:
DEBUG: mud:*
# anvil default, prefunded account
PRIVATE_KEY: 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
- name: Setup
uses: ./.github/actions/setup
- name: Build
uses: ./.github/actions/build
- name: Install example dependencies
working-directory: ./examples/${{ matrix.example }}
run: pnpm install
- name: Clean example
working-directory: ./examples/${{ matrix.example }}
run: pnpm run clean
- name: Build example
working-directory: ./examples/${{ matrix.example }}
run: pnpm run build
- name: Outdated files, run `pnpm run build` in `examples/${{ matrix.example }}` and commit them
uses: ./.github/actions/require-empty-diff
- name: Run tests
working-directory: ./examples/${{ matrix.example }}
run: pnpm run test