Skip to content

Formatted code

Formatted code #256

Workflow file for this run

name: CI
on: [push]
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
jobs:
build:
name: Build, lint, and test on Node ${{ matrix.node }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: ['14.x']
os: [cere-network-large-workers, macOS-latest] # windows-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Use Node ${{ matrix.node }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: Install Yarn
run: npm install -g yarn
- name: Install deps and build (with cache)
uses: bahmutov/npm-install@v1
- name: Check codestyle
run: yarn codestyle
- name: Check linting
run: yarn lint
- name: Check types
run: yarn ts
- name: Run tests
run: yarn test --ci
- name: Check build
run: yarn build