Skip to content

Merge pull request #163 from Its-treason/main #366

Merge pull request #163 from Its-treason/main

Merge pull request #163 from Its-treason/main #366

Workflow file for this run

name: Build
on: [push, pull_request, workflow_dispatch]
env:
CARGO_TERM_COLOR: always
jobs:
compile:
runs-on: ubuntu-latest
name: "Compile Typescript"
steps:
- name: πŸ›Ž Checkout
uses: actions/checkout@v2
- name: Install system deps
run: sudo apt install -y build-essential g++-10 libxi-dev libxext-dev libpixman-1-dev libcairo2-dev libpango1.0-dev libjpeg8-dev libgif-dev libjpeg-dev librsvg2-dev mesa-common-dev
- name: πŸ›  Install deps
run: npm i
- name: πŸ›  Compile
run: tsc
unit-test:
runs-on: ubuntu-latest
name: "Run unit tests"
steps:
- name: πŸ›Ž Checkout
uses: actions/checkout@v2
- name: Install system deps
run: sudo apt install -y build-essential g++-10 libxi-dev libxext-dev libpixman-1-dev libcairo2-dev libpango1.0-dev libjpeg8-dev libgif-dev libjpeg-dev librsvg2-dev mesa-common-dev
- name: πŸ›  Install deps
run: npm i
- name: πŸ›  Run tests
run: npm run test