From a6a64f1fdcfff580647117bad5378bd89dbc0275 Mon Sep 17 00:00:00 2001
From: Earl Warren <contact@earl-warren.org>
Date: Mon, 8 Jul 2024 15:11:29 +0200
Subject: [PATCH] tests: run JavaScript tests when web_src/js is modified

otherwise they are not useful
---
 .forgejo/workflows/e2e.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.forgejo/workflows/e2e.yml b/.forgejo/workflows/e2e.yml
index c1321b0a8e..cda9991027 100644
--- a/.forgejo/workflows/e2e.yml
+++ b/.forgejo/workflows/e2e.yml
@@ -4,8 +4,10 @@ on:
   pull_request:
     paths:
       - Makefile
+      - playwright.config.js
       - .forgejo/workflows/e2e.yml
       - tests/e2e/**
+      - web_src/js/**
 
 jobs:
   test-e2e: