mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-26 21:19:43 -08:00
31 lines
594 B
YAML
31 lines
594 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@v3
|
||
|
with:
|
||
|
fetch-depth: 0
|
||
|
|
||
|
- name: Use Node.js
|
||
|
uses: actions/setup-node@v3
|
||
|
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
|