Skip to content

Workflow file for this run

name: 'Format, lint and check for code errors'
on:
push:
paths-ignore:
- '**.md'
schedule:
- cron: '0 0 1 * *'
create:
tags:
- '*'
jobs:
lint-and-tsc:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Node
uses: actions/setup-node@v2
with:
node-version: 20
- uses: oven-sh/setup-bun@v1
- name: Install
run: bun devBun
- name: Format
run: bun prettier --check client server
- name: Lint
run: bun lint
- name: TypeScript
run: bun compile
- name: Check if package was just generated
run: bun generate-package && git diff --exit-code package.json