Skip to content

WT-1339 Show more IMX drawer if user has not enough balance for gas N… #2620

WT-1339 Show more IMX drawer if user has not enough balance for gas N…

WT-1339 Show more IMX drawer if user has not enough balance for gas N… #2620

name: Build, Lint, Typecheck, Test
on:
push:
branches:
- main
pull_request:
jobs:
build:
name: Build, Lint, Typecheck, Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: lts/*
registry-url: https://registry.npmjs.org/
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
- name: Cache node modules
uses: actions/cache@v3
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
run: yarn install --immutable
- name: Check Single Package Version Policy
run: yarn syncpack:check
- name: Lint
run: yarn lint
- name: Build
run: export NODE_OPTIONS=--max-old-space-size=6144 && yarn build
- name: Typecheck
run: yarn typecheck
- name: Test
run: yarn test