Skip to content

maybe ci?

maybe ci? #5

Workflow file for this run

name: ci
# This workflow will run whenever we push commits to the `main` branch, or
# whenever there's a pull request to the `main` branch. See:
# https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#on
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
lint:
name: ESLint
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
cache: yarn
cache-dependency-path: yarn.lock
- name: Install with Yarn
run: yarn && yarn install
- name: Compile with TypeScript
run: yarn tsc
- name: Lint with ESLint
run: yarn lint