We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e097ec commit f3a4278Copy full SHA for f3a4278
.github/workflows/check-js-build.yml
@@ -1,8 +1,4 @@
1
-on:
2
- pull_request:
3
- paths:
4
- - 'js/**'
5
- - 'plotly/labextension/**'
+on: push
6
7
jobs:
8
check-js-build:
@@ -26,6 +22,14 @@ jobs:
26
22
run: |
27
23
cp -R plotly/labextension/ plotly/labextension-tmp/
28
24
25
+ - name: Check if JS or labextension files changed
+ run: |
+ git fetch origin ${{ github.base_ref }}
+ CHANGED=$(git diff --name-only origin/${{ github.base_ref }}...HEAD | grep -E '^js/|^plotly/labextension/' || true)
29
+ if [ -z "$CHANGED" ]; then
30
+ exit 0
31
+ fi
32
+
33
- name: Install dependencies
34
35
curl -LsSf https://astral.sh/uv/install.sh | sh
0 commit comments