Skip to content

Initial release preparation #1

Initial release preparation

Initial release preparation #1

Workflow file for this run

name: Lint
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- "*"
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: 'yarn'
- name: Install deps
run: yarn install --frozen-lockfile
- name: Run lint
run: yarn lint
- name: Run formatter check
run: |
yarn run --silent format-check || ( \
echo "Run this command on your local device to fix the error:" && \
echo "" && \
echo " yarn run format" && \
echo "" && exit 1)