Skip to content

Adapting the tutorial island guide to focus on Redstone #1799

Adapting the tutorial island guide to focus on Redstone

Adapting the tutorial island guide to focus on Redstone #1799

name: check-frontend
on:
pull_request:
branches:
- main
jobs:
test:
name: lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
- name: Git LFS Pull
run: |
git lfs pull
- name: Install foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Building contract abi
working-directory: contracts
run: |
forge --version
forge build --sizes
id: build
- name: Install node
uses: actions/setup-node@v1
with:
node-version: 18.16.x
- name: Install
run: |
npm ci
(cd core && npm run build)
- name: Lint
working-directory: frontend
run: |
npx next lint --max-warnings=0
- name: Format
working-directory: frontend
run: |
npx eslint . --ext .ts --ext .tsx --quiet
- name: Export
working-directory: frontend
run: |
npm run export