Files
discordbot-ng/.github/workflows/lint-and-build.yml
T

33 lines
530 B
YAML

name: Lint and Build
on:
push:
branches: [master]
pull_request:
jobs:
lint-and-build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "24"
cache: npm
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Type check
run: npm run typecheck
- name: Build
run: npm run build