n8n/.github/workflows/test-linting-reusable.yml
Declan Carroll b82de23cc4
chore: Bump Node.js from 24.13.1 to 24.14.1 (#27894)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-01 11:54:03 +00:00

33 lines
804 B
YAML

name: 'Test: Linting'
on:
workflow_call:
inputs:
ref:
description: GitHub ref to lint.
required: false
type: string
default: ''
nodeVersion:
description: Version of node to use.
required: false
type: string
default: 24.14.1
env:
NODE_OPTIONS: --max-old-space-size=7168
jobs:
lint:
name: Lint
runs-on: ${{ vars.RUNNER_PROVIDER == 'github' && 'ubuntu-latest' || 'blacksmith-4vcpu-ubuntu-2204' }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: ${{ inputs.ref }}
- name: Build and Test
uses: ./.github/actions/setup-nodejs
with:
build-command: pnpm lint
node-version: ${{ inputs.nodeVersion }}