chore: increase node max-old-space-size
for generate-all-groups
command
#4897
Workflow file for this run
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: Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
lint: | |
name: ESLint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: ESLint | |
run: yarn lint | |
tsc: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Build | |
run: npx tsc | |
prettier: | |
name: Prettier | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Prettier | |
run: yarn prettier | |
test: | |
if: (github.actor != 'sismobot') | |
name: Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Launch docker-compose | |
run: | | |
docker-compose -f docker-compose.test.yaml up -d | |
- name: Wait for services | |
run: | | |
sleep 10 | |
- name: Tests | |
run: yarn test | |
sls_webpack: | |
if: (github.actor != 'sismobot') | |
name: Serverless webpack build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: remove aws account id | |
run: sed -i 's/${aws:accountId}//' serverless.yaml # to remove aws credentials dependency for build | |
- name: webpack | |
env: | |
SH_GITHUB_TOKEN: test | |
TWITTER_API_KEY: test | |
TELEGRAM_API_HASH: test | |
TELEGRAM_API_ID: test | |
TELEGRAM_BOT_TOKEN: test | |
TELEGRAM_BOT_SESSION: test | |
HIVE_API_KEY: test_secret | |
ALCHEMY_API_KEY: test | |
JSON_RPC_URL: test | |
GOOGLE_APPLICATION_CREDENTIALS: test | |
DUNE_API_KEY: test | |
GITCOIN_API_KEY: test | |
ANKR_API_KEY: test | |
ROCI_API_KEY: test | |
TALLY_API_KEY: test | |
run: npx serverless webpack |