Skip to content

Feat/rpc methods

Feat/rpc methods #95

name: Build, Lint, Typecheck, Test
on:
pull_request:
branches:
- main
merge_group:
branches:
- main
jobs:
build:
name: Build
runs-on: ubuntu-latest
env:
NODE_OPTIONS: --max-old-space-size=14366
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: lts/*
registry-url: https://registry.npmjs.org/
cache: 'yarn'
- name: Install dependencies
run: yarn install
- name: Build
run: yarn build
- name: Typecheck
run: yarn typecheck
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: lts/*
registry-url: https://registry.npmjs.org/
cache: 'yarn'
- name: Install dependencies
run: yarn install
- name: Lint
run: yarn lint