Skip to content

Commit a423426

Browse files
dependabot[bot]neilime
authored andcommitted
chore(deps): bump the github-actions-dependencies group across 2 directories with 3 updates
Bumps the github-actions-dependencies group with 2 updates in the / directory: [hoverkraft-tech/ci-github-publish](https://github.com/hoverkraft-tech/ci-github-publish) and [github/codeql-action](https://github.com/github/codeql-action). Bumps the github-actions-dependencies group with 1 update in the /actions/setup-node directory: [pnpm/action-setup](https://github.com/pnpm/action-setup). Updates `hoverkraft-tech/ci-github-publish` from 0.10.1 to 0.11.2 - [Release notes](https://github.com/hoverkraft-tech/ci-github-publish/releases) - [Commits](hoverkraft-tech/ci-github-publish@00adc37...42d50a3) Updates `github/codeql-action` from 3.30.6 to 4.30.7 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@64d10c1...e296a93) Updates `pnpm/action-setup` from 4.1.0 to 4.2.0 - [Release notes](https://github.com/pnpm/action-setup/releases) - [Commits](pnpm/action-setup@a7487c7...41ff726) --- updated-dependencies: - dependency-name: hoverkraft-tech/ci-github-publish dependency-version: 0.11.2 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions-dependencies - dependency-name: github/codeql-action dependency-version: 4.30.7 dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions-dependencies - dependency-name: pnpm/action-setup dependency-version: 4.2.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions-dependencies ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Emilien Escalle <emilien.escalle@escemi.com>
1 parent 99448c3 commit a423426

File tree

10 files changed

+522
-182
lines changed

10 files changed

+522
-182
lines changed

.ghadocs.json

Lines changed: 0 additions & 17 deletions
This file was deleted.

.github/workflows/__main-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
release:
3333
needs: ci
3434
if: github.event_name != 'schedule'
35-
uses: hoverkraft-tech/ci-github-publish/.github/workflows/release-actions.yml@00adc3757296add499b60fd72a124b06974a100e # 0.10.1
35+
uses: hoverkraft-tech/ci-github-publish/.github/workflows/release-actions.yml@42d50a3461a177557ca3f83b1d927d7c0783c894 # 0.11.2
3636
with:
3737
update-all: ${{ (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')) || github.event_name == 'workflow_dispatch' }}
3838
github-app-id: ${{ vars.CI_BOT_APP_ID }}
Lines changed: 124 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,27 @@
1-
<!-- start title -->
1+
<!-- header:start -->
22

33
# GitHub Reusable Workflow: Node.js Continuous Integration
44

5-
<!-- end title -->
6-
<!-- start description -->
5+
<div align="center">
6+
<img src="https://opengraph.githubassets.com/e970d0dbe9ef0b2c9d7908a082cdee394d80b51dbba83dab5821ba6e49341f8d/hoverkraft-tech/ci-github-nodejs" width="60px" align="center" alt="NodeJS Continuous Integration" />
7+
</div>
8+
9+
---
10+
11+
<!-- header:end -->
12+
13+
<!-- badges:start -->
14+
15+
[![Release](https://img.shields.io/github/v/release/hoverkraft-tech/ci-github-nodejs)](https://github.com/hoverkraft-tech/ci-github-nodejs/releases)
16+
[![License](https://img.shields.io/github/license/hoverkraft-tech/ci-github-nodejs)](http://choosealicense.com/licenses/mit/)
17+
[![Stars](https://img.shields.io/github/stars/hoverkraft-tech/ci-github-nodejs?style=social)](https://img.shields.io/github/stars/hoverkraft-tech/ci-github-nodejs?style=social)
18+
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/hoverkraft-tech/ci-github-nodejs/blob/main/CONTRIBUTING.md)
19+
20+
<!-- badges:end -->
21+
22+
<!-- overview:start -->
23+
24+
## Overview
725

826
Workflow to performs continuous integration steps agains a Node.js project:
927

@@ -12,68 +30,99 @@ Workflow to performs continuous integration steps agains a Node.js project:
1230
- Build
1331
- Test
1432

15-
<!-- end description -->
16-
<!-- start contents -->
17-
<!-- end contents -->
18-
<!-- start usage -->
33+
### Permissions
1934

20-
```yaml
21-
name: Nodejs Continuous Integration
35+
- **`contents`**: `read`
36+
- **`security-events`**: `write`
37+
- **`id-token`**: `write`
38+
39+
<!-- overview:end -->
40+
41+
<!-- usage:start -->
2242

43+
## Usage
44+
45+
```yaml
46+
name: NodeJS Continuous Integration
2347
on:
24-
merge_group:
2548
push:
26-
branches: [main]
27-
pull_request:
28-
branches: [main]
29-
49+
branches:
50+
- main
3051
permissions:
3152
contents: read
3253
security-events: write
33-
# FIXME: This is a workaround for having workflow ref. See https://github.com/orgs/community/discussions/38659
3454
id-token: write
35-
3655
jobs:
3756
continuous-integration:
38-
uses: hoverkraft-tech/ci-github-nodejs/.github/workflows/continuous-integration.yml@0.14.1
57+
uses: hoverkraft-tech/ci-github-nodejs/.github/workflows/continuous-integration.yml@1d00c9eb280acbee5df4b4a2087f786e66b13d87 # 0.14.1
58+
with:
59+
# Build parameters. Must be a string or a json object.
60+
# Default: `build`
61+
build: build
62+
63+
# Optional flag to enable check steps.
64+
# Default: `true`
65+
checks: true
66+
67+
# Optional flag to enable linting.
68+
# Default: `true`
69+
lint: true
70+
71+
# Code QL analysis language. See <https://github.com/github/codeql-action>.
72+
# Default: `typescript`
73+
code-ql: typescript
74+
75+
# Enable dependency review scan. See <https://github.com/actions/dependency-review-action>.
76+
# Default: `true`
77+
dependency-review: true
78+
79+
# Optional flag to enable test.
80+
# Default: `true`
81+
test: true
82+
83+
# Specifify code coverage reporter. Supported values: 'codecov'.
84+
# Default: `codecov`
85+
coverage: codecov
86+
87+
# Working directory where the dependencies are installed.
88+
# Default: `.`
89+
working-directory: .
3990
```
4091
41-
<!-- end usage -->
42-
<!-- start secrets -->
43-
<!-- end secrets -->
44-
<!-- start inputs -->
92+
<!-- usage:end -->
93+
94+
<!-- inputs:start -->
4595
4696
## Inputs
4797
48-
| **Input** | **Description** | **Type** | **Default** | **Required** |
49-
| ------------------------- | ------------------------------------------------------------------------- | -------------------- | ------------------------- | ------------ |
50-
| **<code>build</code>** | Build parameters. Must be a string or a JSON array of strings or object. | <code>string</code> | <code>build</code> | **false** |
51-
| **<code>checks</code>** | Optional flag to enable check steps. | <code>boolean</code> | <code>true</code> | **false** |
52-
| **<code>code-ql</code>** | Code QL analysis language. See <https://github.com/github/codeql-action>. | <code>string</code> | <code>`typescript`</code> | **false** |
53-
| **<code>lint</code>** | Optional flag to enable linting. | <code>boolean</code> | <code>true</code> | **false** |
54-
| **<code>test</code>** | Optional flag to enable test. | <code>boolean</code> | <code>true</code> | **false** |
55-
| **<code>coverage</code>** | Specifify code coverage reporter. Supported values: `codecov`. | <code>string</code> | <code>`codecov`</code> | **false** |
98+
### Workflow Call Inputs
99+
100+
| **Input** | **Description** | **Required** | **Type** | **Default** |
101+
| ----------------------- | ----------------------------------------------------------------------------------------- | ------------ | ----------- | ------------ |
102+
| **`build`** | Build parameters. Must be a string or a JSON object. | **false** | **string** | `build` |
103+
| **`checks`** | Optional flag to enable check steps. | **false** | **boolean** | `true` |
104+
| **`lint`** | Optional flag to enable linting. | **false** | **boolean** | `true` |
105+
| **`code-ql`** | Code QL analysis language. See <https://github.com/github/codeql-action>. | **false** | **string** | `typescript` |
106+
| **`dependency-review`** | Enable dependency review scan. See <https://github.com/actions/dependency-review-action>. | **false** | **boolean** | `true` |
107+
| **`test`** | Optional flag to enable test. | **false** | **boolean** | `true` |
108+
| **`coverage`** | Specifify code coverage reporter. Supported values: 'Codecov'. | **false** | **string** | `codecov` |
109+
| **`working-directory`** | Working directory where the dependencies are installed. | **false** | **string** | `.` |
56110

57-
### `build` input parameters
111+
<!-- inputs:end -->
58112

59-
When `build` is a JSON object, the following parameters are supported:
113+
<!-- secrets:start -->
114+
<!-- secrets:end -->
60115

61-
| **Input** | **Description** | **Type** | **Default** | **Required** |
62-
| ---------- | -------------------------------------------------------------------------------------------------------- | ------------------ | ----------- | ------------ |
63-
| `commands` | Build command(s). | string[] | `["build"]` | **false** |
64-
| `artifact` | Build artifact (name will be `build`) to be uploaded. (See <https://github.com/actions/upload-artifact>) | string or string[] | `` | **false** |
116+
<!-- outputs:start -->
117+
<!-- outputs:end -->
65118

66-
<!-- end inputs -->
67-
<!-- start outputs -->
68-
<!-- end outputs -->
69-
<!-- start [.github/ghadocs/examples/] -->
119+
<!-- examples:start -->
70120

71121
## Examples
72122

73123
### Continuous Integration, build and publish
74124

75125
```yaml
76-
77126
name: Continuous Integration - Build and Publish
78127
79128
name: Nodejs Continuous Integration
@@ -84,7 +133,7 @@ on:
84133
85134
jobs:
86135
continuous-integration:
87-
uses: hoverkraft-tech/ci-github-nodejs/.github/workflows/continuous-integration.yml@0.14.1
136+
uses: hoverkraft-tech/ci-github-nodejs/.github/workflows/continuous-integration.yml@1d00c9eb280acbee5df4b4a2087f786e66b13d87 # 0.14.1
88137
permissions:
89138
id-token: write
90139
security-events: write
@@ -119,4 +168,37 @@ jobs:
119168
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
120169
```
121170

122-
<!-- end [.github/ghadocs/examples/] -->
171+
<!-- examples:end -->
172+
173+
<!-- contributing:start -->
174+
175+
## Contributing
176+
177+
Contributions are welcome! Please see the [contributing guidelines](https://github.com/hoverkraft-tech/ci-github-nodejs/blob/main/CONTRIBUTING.md) for more details.
178+
179+
<!-- contributing:end -->
180+
181+
<!-- security:start -->
182+
<!-- security:end -->
183+
184+
<!-- license:start -->
185+
186+
## License
187+
188+
This project is licensed under the MIT License.
189+
190+
SPDX-License-Identifier: MIT
191+
192+
Copyright © 2025 hoverkraft-tech
193+
194+
For more details, see the [license](http://choosealicense.com/licenses/mit/).
195+
196+
<!-- license:end -->
197+
198+
<!-- generated:start -->
199+
200+
---
201+
202+
This documentation was automatically generated by [CI Dokumentor](https://github.com/hoverkraft-tech/ci-dokumentor).
203+
204+
<!-- generated:end -->

.github/workflows/continuous-integration.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
# NodeJS Continuous Integration
2-
# ==========================
31
# Workflow to performs continuous integration steps agains a NodeJs project:
2+
#
43
# - CodeQL analysis
54
# - Linting
65
# - Build
@@ -67,10 +66,10 @@ jobs:
6766
runs-on: "ubuntu-latest"
6867
steps:
6968
- uses: hoverkraft-tech/ci-github-common/actions/checkout@1c379f7f6e0fc850fe5a7111f74d54e159b4dcd2 # 0.26.0
70-
- uses: github/codeql-action/init@64d10c13136e1c5bce3e5fbde8d4906eeaafc885 # v3.30.6
69+
- uses: github/codeql-action/init@e296a935590eb16afc0c0108289f68c87e2a89a5 # v4.30.7
7170
with:
7271
languages: ${{ inputs.code-ql }}
73-
- uses: github/codeql-action/analyze@64d10c13136e1c5bce3e5fbde8d4906eeaafc885 # v3.30.6
72+
- uses: github/codeql-action/analyze@e296a935590eb16afc0c0108289f68c87e2a89a5 # v4.30.7
7473

7574
dependency-review:
7675
name: 🛡️ Dependency Review

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#checkov:skip=CKV_DOCKER_2: required
2-
FROM ghcr.io/super-linter/super-linter:slim-v8
1+
FROM ghcr.io/super-linter/super-linter:slim-v8.0.0
32

3+
HEALTHCHECK --interval=5m --timeout=10s --start-period=30s --retries=3 CMD ["/bin/sh","-c","test -d /github/home"]
44
ARG UID=1000
55
ARG GID=1000
66
RUN chown -R ${UID}:${GID} /github/home
@@ -9,4 +9,4 @@ USER ${UID}:${GID}
99
ENV RUN_LOCAL=true
1010
ENV USE_FIND_ALGORITHM=true
1111
ENV LOG_LEVEL=WARN
12-
ENV LOG_FILE="/github/home/logs"
12+
ENV LOG_FILE="/github/home/logs"

0 commit comments

Comments
 (0)