mirror of
https://github.com/bartvdbraak/hellob.art.git
synced 2025-04-26 17:11:21 +00:00
35 lines
699 B
YAML
35 lines
699 B
YAML
name: Linting
|
|
|
|
on: [pull_request]
|
|
|
|
permissions:
|
|
checks: write
|
|
contents: write
|
|
|
|
jobs:
|
|
run-checks:
|
|
name: Run checks
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
node-version: [18]
|
|
steps:
|
|
- name: Checkout Git repository
|
|
uses: actions/checkout@v4.1.4
|
|
|
|
- name: Setup pnpm
|
|
uses: pnpm/action-setup@v3.0.0
|
|
with:
|
|
version: latest
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v4.0.2
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
cache: pnpm
|
|
|
|
- name: Install Node.js dependencies
|
|
run: pnpm install --frozen-lockfile
|
|
|
|
- name: Run linting
|
|
run: pnpm run lint-ci
|