0
0
mirror of https://github.com/sp-tarkov/server.git synced 2025-02-13 06:50:43 -05:00
server/.github/workflows/run-lint.yaml

33 lines
635 B
YAML
Raw Normal View History

name: Run Code Linter
on:
push:
branches: ["*"]
pull_request:
branches: ["*"]
jobs:
biome:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
lfs: false
- name: Checkout LFS
run: git lfs pull
- uses: actions/setup-node@v4
with:
node-version-file: "project/.nvmrc"
cache: "npm"
cache-dependency-path: "project/package.json"
- name: Install NPM Dependencies
run: npm install
working-directory: ./project
- name: Run Linter
run: npm run lint
working-directory: ./project