feat(ui): Flowbite assistants (PR #3) #2585
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: lint | |
on: | |
pull_request: | |
types: | |
- ready_for_review | |
- review_requested | |
- synchronize | |
- milestoned | |
# Declare default permissions as read only. | |
permissions: read-all | |
jobs: | |
ruff: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Validate Lint | |
uses: chartboost/ruff-action@e18ae971ccee1b2d7bbef113930f00c670b78da4 # v1.0.0 | |
with: | |
version: 0.3.4 | |
- name: Validate Formatting | |
uses: chartboost/ruff-action@e18ae971ccee1b2d7bbef113930f00c670b78da4 # v1.0.0 | |
with: | |
version: 0.3.4 | |
args: format --check | |
# Javascript & Typescript Linting | |
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 | |
with: | |
node-version-file: 'src/leapfrogai_ui/package.json' | |
- name: Install UI Dependencies | |
run: npm --prefix src/leapfrogai_ui ci | |
- name: Run UI Linter | |
run: npm --prefix src/leapfrogai_ui run lint |