This commit is contained in:
20
.gitea/workflows/lint.yaml
Normal file
20
.gitea/workflows/lint.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
name: Lint
|
||||
run-name: Lint
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: "Install Bun"
|
||||
uses: oven-sh/setup-bun@v1
|
||||
- name: "Install Node"
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: "20"
|
||||
- name: "Clone repo"
|
||||
uses: actions/checkout@v4
|
||||
- name: "Install dependencies"
|
||||
run: bun install --frozen-lockfile
|
||||
- name: "Lint TypeScript"
|
||||
run: npm run lint:tsc
|
||||
Reference in New Issue
Block a user