Skip to content

chore: Change the repository architecture to a monorepo #15

chore: Change the repository architecture to a monorepo

chore: Change the repository architecture to a monorepo #15

Workflow file for this run

name: Lint
on:
pull_request:
branches:
- main
- dev
- release/*
push:
branches:
- main
- dev
- release/*
jobs:
lint:
runs-on: "ubuntu-latest"
steps:
- name: "Check out the repo"
uses: "actions/checkout@v3"
- name: "Install Pnpm"
uses: "pnpm/action-setup@v2"
with:
version: "8"
- name: "Install Node.js"
uses: "actions/setup-node@v3"
with:
cache: "pnpm"
node-version: "lts/*"
- name: "Install the Node.js dependencies"
run: "pnpm install"
- name: "Check code linting"
run: "pnpm -r run lint"
- name: "Run Prettier"
run: "pnpm run prettier"
- name: "Add lint summary"
run: |
echo "## Lint result" >> $GITHUB_STEP_SUMMARY
echo "✅ Passed" >> $GITHUB_STEP_SUMMARY