Skip to content

refactoring

refactoring #811

Workflow file for this run

name: Lint and test
on: push
jobs:
lintAndTest:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: '16.10'
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.npm
key: npm-${{ hashFiles('package-lock.json') }}
restore-keys: npm-
- name: Install dependencies
run: yarn install
- name: Build
run: yarn build
- name: Lint
run: yarn lint
- name: Test
run: |
export NODE_OPTIONS="--max_old_space_size=12096"
export CI=true
yarn test:ci
- name: Build
run: |
yarn build