Skip to content

Merge branch 'main' of github.com:Libertai/libertai-js #25

Merge branch 'main' of github.com:Libertai/libertai-js

Merge branch 'main' of github.com:Libertai/libertai-js #25

Workflow file for this run

name: FormatCheck
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
format-check:
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('**/yarn.lock') }}
restore-keys: |
${{ runner.OS }}-yarn-
- name: Install dependencies
run: yarn install
- name: Lint
run: yarn format:check