25
.gitea/workflows/lint.yaml
Normal file
25
.gitea/workflows/lint.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
name: Lint
|
||||
run-name: Lint
|
||||
on:
|
||||
push:
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Set up Bun
|
||||
uses: oven-sh/setup-bun@v1
|
||||
- name: Set up Node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: "20"
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Install dependencies
|
||||
run: bun install --frozen-lockfile
|
||||
- name: Lint TypeScript common
|
||||
run: npm -w packages/common run lint:tsc
|
||||
- name: Lint TypeScript server
|
||||
run: npm -w packages/server run lint:tsc
|
||||
- name: Lint TypeScript webapp
|
||||
run: npm -w packages/webapp run lint:tsc
|
||||
Reference in New Issue
Block a user