Enable MAL to use Board commands in Breadbot #44
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: pr | |
on: | |
pull_request: | |
branches: [master] | |
jobs: | |
Linux: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone | |
uses: actions/checkout@v2 | |
# We need to run the following commands so yarn can successfully install dependencies. | |
# Because node-canvas depends on cairo and pango to compile on the system, we install them here. | |
- name: Install dependencies for node-canvas | |
run: | | |
sudo apt update | |
sudo apt install -y libcairo2-dev libjpeg-dev libpango1.0-dev libgif-dev librsvg2-dev | |
- name: Install dependencies | |
run: 'yarn install --frozen-lockfile' | |
- name: Lint | |
run: yarn lint |