Skip to content

Simple api

Simple api #8

Workflow file for this run

name: Lint
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18
- name: Cache dependencies
uses: actions/cache@v3
with:
path: ~/.cache/yarn
key: ${{ runner.OS }}-yarn-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-yarn-
- name: Install dependencies
run: yarn install
- name: Lint
run: yarn lint