Merge pull request #1313 from DA0-DA0/development #309
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: Upload Source Maps to Sentry | |
on: | |
push: | |
branches: | |
- main | |
- development | |
env: | |
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
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, Build, & Upload | |
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 dapp build | |
- run: yarn sda build |