Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: lint

on:
workflow_dispatch:
pull_request:
branches:
- main
push:
branches:
- main

jobs:
lint:
name: lint
runs-on: ubuntu-latest
steps:
# ...
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1

# run any `bun` or `bunx` command
- run: bun install
- run: bun lint
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ This bot is made for the automatization of the Nookure Studios discord server su
- `bun dev` - Start the bot in development mode
- `bun dev:hmr` - Start the bot in development mode with hot module replacement
- `bun start` - Start the bot in production mode

- `bun lint` - Checks errors in the code style
- `bun lint:fix` - Fix linting errors
Loading