Skip to content

style: lint + format #581

style: lint + format

style: lint + format #581

Workflow file for this run

name: validate
on:
push:
jobs:
format-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: yarn
- name: Install modules
run: yarn install --frozen-lockfile
- name: Check formatting
run: yarn format-check
lint-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: yarn
- name: Install modules
run: yarn install --frozen-lockfile
- name: Lint
run: yarn lint-check
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: yarn
- name: Install modules
run: yarn install --frozen-lockfile
- name: Run tests
run: yarn test
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: yarn
- name: Install modules
run: yarn install --frozen-lockfile
- name: Build
run: yarn build