mirror of
https://codeberg.org/lucida/lucida.git
synced 2026-11-12 14:47:24 -05:00
27 lines
556 B
YAML
27 lines
556 B
YAML
name: Lint
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
eslint:
|
|
runs-on: docker
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: https://code.forgejo.org/actions/checkout@v4
|
|
- uses: https://github.com/pnpm/action-setup@v4
|
|
name: Install pnpm
|
|
with:
|
|
version: 8
|
|
run_install: false
|
|
- name: Install Node.js
|
|
uses: https://github.com/actions/setup-node@v4
|
|
with:
|
|
node-version: 20
|
|
cache: 'pnpm'
|
|
- run: pnpm install
|
|
- run: pnpm run lint
|