-
-
Notifications
You must be signed in to change notification settings - Fork 5
36 lines (30 loc) · 629 Bytes
/
lint.yml
File metadata and controls
36 lines (30 loc) · 629 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Lint Code
on:
push:
branches:
- develop
- main
pull_request:
branches:
- develop
- main
jobs:
lint:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
env:
THUMBNAIL_URL: ${{ vars.THUMBNAIL_URL }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0
- name: Install bun
uses: oven-sh/setup-bun@v2
- name: Install dependencies
run: bun install
- name: Run linter
run: bun run lint:check