Skip to content

fix: requires chainId param on init #110

fix: requires chainId param on init

fix: requires chainId param on init #110

Workflow file for this run

name: pull request checks
on:
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10
if: github.event.action == 'opened' || github.event.action == 'synchronize'
steps:
- name: checkout
uses: actions/checkout@v3
- name: setup-node
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: "yarn"
cache-dependency-path: "**yarn.lock"
- name: install
run: yarn install --frozen-lockfile
- name: build
run: yarn build
- uses: actions/upload-artifact@v3
with:
name: build-artifacts
path: dist
code_style:
runs-on: ubuntu-latest
strategy:
matrix:
style-command:
- lint
- prettier
steps:
- name: checkout
uses: actions/checkout@v3
- name: setup-node
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: "yarn"
cache-dependency-path: "**yarn.lock"
- name: install
run: yarn install --frozen-lockfile
- name: check
run: yarn ${{ matrix.style-command }}
test:
needs: [build, code_style]
runs-on: ubuntu-latest
env:
TEST_RELAY_URL: ${{ secrets.TEST_RELAY_URL }}
TEST_PROJECT_ID: ${{ secrets.TEST_PROJECT_ID }}
steps:
- name: checkout
uses: actions/checkout@v3
- name: setup-node
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: "yarn"
cache-dependency-path: "**yarn.lock"
- name: install
run: yarn install --frozen-lockfile
- uses: actions/download-artifact@v3
with:
name: build-artifacts
- run: yarn test