Test lint-codebase #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# `lint-codebase` runs all rules in `eslint-plugin-n8n-nodes-base` (as they | |
# exist in this commit) on `n8n-io/n8n/packages/nodes-base`. The purpose is to | |
# ensure the linter runs successfully (does not crash) on the entire codebase. | |
# `lint-codebase` is part of the `ci-release` action. | |
# This GitHub action `test-lint-codebase` is meant to be run manually for debugging. | |
name: Test lint-codebase | |
on: | |
workflow_dispatch: | |
jobs: | |
test-lint-codebase: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out commit | |
uses: actions/checkout@v4 | |
- name: Set up pnpm | |
uses: pnpm/action-setup@v4 | |
- name: Set up Node 20 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
- name: Lint codebase | |
run: pnpm lint-codebase |