From 99bed28ad6726f48386a7ba789e164cb3de173af Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Thu, 16 Apr 2026 19:34:47 +0200 Subject: [PATCH] chore: rename `node` to `npm-build` workflow We do not have Node.JS applications but this workflow just checks if it can build the Javascript frontend using `npm build`. This should reduce confusion about the workflows intend. Signed-off-by: Ferdinand Thiessen --- workflow-templates/node.properties.json | 11 ----------- workflow-templates/npm-build.properties.json | 11 +++++++++++ workflow-templates/{node.svg => npm-build.svg} | 0 workflow-templates/{node.yml => npm-build.yml} | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-) delete mode 100644 workflow-templates/node.properties.json create mode 100644 workflow-templates/npm-build.properties.json rename workflow-templates/{node.svg => npm-build.svg} (100%) rename workflow-templates/{node.yml => npm-build.yml} (99%) diff --git a/workflow-templates/node.properties.json b/workflow-templates/node.properties.json deleted file mode 100644 index 8e588124..00000000 --- a/workflow-templates/node.properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "name": "Node checkout and build workflow", - "description": "Nextcloud node build workflow template.", - "iconName": "node", - "categories": [ - "JavaScript" - ], - "filePatterns": [ - "^package.json$" - ] -} diff --git a/workflow-templates/npm-build.properties.json b/workflow-templates/npm-build.properties.json new file mode 100644 index 00000000..27474952 --- /dev/null +++ b/workflow-templates/npm-build.properties.json @@ -0,0 +1,11 @@ +{ + "name": "Frontend build workflow", + "description": "Nextcloud workflow template for check frontend builds.", + "iconName": "npm-build", + "categories": [ + "JavaScript" + ], + "filePatterns": [ + "^package.json$" + ] +} diff --git a/workflow-templates/node.svg b/workflow-templates/npm-build.svg similarity index 100% rename from workflow-templates/node.svg rename to workflow-templates/npm-build.svg diff --git a/workflow-templates/node.yml b/workflow-templates/npm-build.yml similarity index 99% rename from workflow-templates/node.yml rename to workflow-templates/npm-build.yml index 1ee76623..c552240b 100644 --- a/workflow-templates/node.yml +++ b/workflow-templates/npm-build.yml @@ -6,7 +6,7 @@ # SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors # SPDX-License-Identifier: MIT -name: Node +name: Build Javascript on: pull_request