Skip to content

feat: sismo mirror groups + add them to Sismo Community group #4768

feat: sismo mirror groups + add them to Sismo Community group

feat: sismo mirror groups + add them to Sismo Community group #4768

Workflow file for this run

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
run: npx serverless webpack