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