mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -08:00
31 lines
602 B
YAML
31 lines
602 B
YAML
name: Check Test Files
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- '**'
|
|
- '!release/*'
|
|
pull_request_target:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
check-tests:
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4.1.1
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Use Node.js
|
|
uses: actions/setup-node@v4.0.2
|
|
with:
|
|
node-version: 20.x
|
|
|
|
- run: npm install --prefix=.github/scripts --no-package-lock
|
|
|
|
- name: Check for test files
|
|
run: node .github/scripts/check-tests.mjs
|