Lazy load NFTs on DAO page to support DAOs with many NFTs (#1386) #2275
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- main | |
- development | |
pull_request: | |
branches: | |
- main | |
- development | |
env: | |
NEXT_PUBLIC_SITE_URL: NEXT_PUBLIC_SITE_URL | |
NEXT_PUBLIC_SEARCH_URL: NEXT_PUBLIC_SEARCH_URL | |
NEXT_PUBLIC_SEARCH_API_KEY: NEXT_PUBLIC_SEARCH_API_KEY | |
NEXT_PUBLIC_SDA_DEFAULT_DAO_ADDRESS: NEXT_PUBLIC_SDA_DEFAULT_DAO_ADDRESS | |
NODE_OPTIONS: --max_old_space_size=4096 | |
jobs: | |
ci: | |
name: Lint & Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
cache: 'yarn' | |
- run: yarn install | |
- run: yarn lint | |
- run: yarn test | |
- run: yarn build:no-apps | |
- run: yarn dapp build | |
- run: yarn sda build |