Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions consumers.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@
"openapi.yml",
"psalm.yml"
]
},
{
"repository": "LibreSign/libresign",
"workflows": [
"lint-typescript.yml",
"node-test.yml"
]
}
]
}
2 changes: 2 additions & 0 deletions workflow-catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"lint-php",
"lint-php-cs",
"lint-stylelint",
"lint-typescript",
"node-test",
"npm-build",
"openapi",
"psalm",
Expand Down
13 changes: 13 additions & 0 deletions workflow-templates/lint-typescript.properties.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"name": "Typechecking",
"description": "Run the shared LibreCode TypeScript type-checking workflow.",
"iconName": "octicon codescan-checkmark",
"categories": [
"TypeScript",
"code-quality",
"npm"
],
"filePatterns": [
"^tsconfig.json$"
]
}
2 changes: 2 additions & 0 deletions workflow-templates/lint-typescript.properties.json.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
SPDX-FileCopyrightText: 2026 LibreCode coop and contributors
SPDX-License-Identifier: AGPL-3.0-or-later
20 changes: 20 additions & 0 deletions workflow-templates/lint-typescript.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# SPDX-FileCopyrightText: 2026 LibreCode coop and contributors
# SPDX-License-Identifier: AGPL-3.0-or-later

name: Type checking

on:
pull_request:
push:
branches:
- main
- master
- stable*

permissions:
contents: read
pull-requests: read

jobs:
typescript:
uses: LibreCodeCoop/github-workflows/.github/workflows/lint-typescript.yml@cedd15d4962e3194f35639deda66069c469bb794
16 changes: 16 additions & 0 deletions workflow-templates/node-test.properties.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "Node testing workflow",
"description": "Run the shared LibreCode Node test and coverage workflow.",
"iconName": "octicon codescan-checkmark",
"categories": [
"JavaScript",
"codecov",
"node",
"npm",
"test",
"coverage"
],
"filePatterns": [
"^package.json$"
]
}
2 changes: 2 additions & 0 deletions workflow-templates/node-test.properties.json.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
SPDX-FileCopyrightText: 2026 LibreCode coop and contributors
SPDX-License-Identifier: AGPL-3.0-or-later
20 changes: 20 additions & 0 deletions workflow-templates/node-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# SPDX-FileCopyrightText: 2026 LibreCode coop and contributors
# SPDX-License-Identifier: AGPL-3.0-or-later

name: Node tests

on:
pull_request:
push:
branches:
- main
- master
- stable*

permissions:
contents: read
pull-requests: read

jobs:
node-tests:
uses: LibreCodeCoop/github-workflows/.github/workflows/node-test.yml@cedd15d4962e3194f35639deda66069c469bb794
Loading