mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 02:35:33 +03: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.1
|
|
with:
|
|
node-version: 18.x
|
|
|
|
- run: npm install --prefix=.github/scripts --no-package-lock
|
|
|
|
- name: Check for test files
|
|
run: node .github/scripts/check-tests.mjs
|