Skip to content

CI: fix minor typeIssues and Add build check to github actions #2

CI: fix minor typeIssues and Add build check to github actions

CI: fix minor typeIssues and Add build check to github actions #2

Workflow file for this run

name: Build check
on:
pull_request:
branches:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: 16
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.cache/yarn
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Run build check
run: yarn build