Merge pull request #2617 from Giveth/GriffGreen-patch-2 #327
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: Build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Use Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 10.x | |
- name: install dependencies | |
run: yarn ci | |
- name: run build-css | |
run: yarn build-css | |
- name: run linter | |
run: yarn eslint | |
- name: push Sentry source map | |
run: NODE_OPTIONS="--max-old-space-size=10000" SENTRY_AUTH_TOKEN=${{secrets.SENTRY_AUTH_TOKEN}} SENTRY_PROJECT=react SENTRY_ORG=${{ secrets.SENTRY_ORG}} CI=false yarn release |