mirror of
https://github.com/smartfrigde/armcord.git
synced 2024-08-14 23:56:58 +00:00
33 lines
651 B
YAML
33 lines
651 B
YAML
|
name: Lint
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches:
|
||
|
- "*"
|
||
|
pull_request:
|
||
|
branches:
|
||
|
- "*"
|
||
|
|
||
|
jobs:
|
||
|
run-linters:
|
||
|
name: Run linters
|
||
|
runs-on: ubuntu-latest
|
||
|
|
||
|
steps:
|
||
|
- name: Check out Git repository
|
||
|
uses: actions/checkout@v4
|
||
|
|
||
|
- uses: pnpm/action-setup@v4
|
||
|
|
||
|
- name: Set up Node.js
|
||
|
uses: actions/setup-node@v4
|
||
|
with:
|
||
|
node-version: 22
|
||
|
cache: pnpm
|
||
|
|
||
|
- name: Install Node.js dependencies
|
||
|
run: pnpm install
|
||
|
|
||
|
- name: Run linters
|
||
|
run: pnpm run lint
|