fmt #15
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: CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup repo | |
uses: actions/checkout@v2 | |
- name: Setup Deno | |
uses: denoland/setup-deno@main | |
with: | |
deno-version: "v2.x" | |
- name: Check Formatting | |
run: deno fmt --check | |
- name: Lint | |
run: deno lint | |
test: | |
runs-on: macos-latest | |
steps: | |
- name: Setup repo | |
uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: Setup Deno | |
uses: denoland/setup-deno@main | |
with: | |
deno-version: "v2.x" | |
- name: Install Ninja | |
run: brew install ninja | |
- name: Build Yoga | |
run: deno task build-yoga | |
- name: Build | |
run: deno task build | |
- name: Test | |
run: deno task test |