Commit f822bc2
authored
ci(node): update node engines version handling to reduce the setup time in CI (#269)
## Walkthrough
The changes across various files reflect an update to the GitHub Actions workflows and configuration for a Node.js project. These updates include the introduction of custom actions for setting up Node.js, modifications to event triggers, and concurrency settings in workflows. There's also a shift in the coverage reporting configuration and the removal of specific linting rules. Additionally, there's a new script for validating Node.js versions and updates to the project's documentation to reflect the use of Volta for Node.js version management.
## Changes
| File Path | Change Summary |
|-----------|----------------|
| `.github/actions/setup-node/action.yml` | Introduced custom GitHub Actions for setting up Node.js environment with `actions/setup-node@v4`. |
| `.github/workflows/deploy.yml` | Updated workflow for NPM release, including custom Node.js setup and semantic release trigger. |
| `.github/workflows/push_code_linting.yml` | Modified event triggers and concurrency, replaced Node.js setup with custom action. |
| `.github/workflows/release_action.yml.disabled` | Replaced `setup-node` action with custom setup-node action. |
| `.github/workflows/test.yml` | Updated test workflow with custom Node.js setup, coverage reporting, and deployment trigger. |
| `.ncurc.yml` | Removed rejection of "chalk" package. |
| `.npmrc` | Removed `use-node-version` config and updated branch patterns for lockfiles merging. |
| `scripts/latest_valid_node_version.sh` | Added script to check for compatible Node.js version. |
| `vitest.config.ts` | Updated coverage configuration to use 'v8' provider and modified reports directory and include paths. |
| `.markdownlint.json` | Removed specific proper names and "code_blocks" setting from MD044 rule. |
| `src/inputs.ts`, `src/readme-generator.ts` | Removed unused imports and commented-out code. |
| `README.md` | Added note on using Volta for Node.js version management. |1 parent f750ff0 commit f822bc2
File tree
12 files changed
+40
-38
lines changed- .github/workflows
- src
12 files changed
+40
-38
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
3 | 16 | | |
4 | | - | |
| 17 | + | |
5 | 18 | | |
6 | 19 | | |
7 | 20 | | |
| |||
21 | 34 | | |
22 | 35 | | |
23 | 36 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
33 | 41 | | |
34 | 42 | | |
35 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
34 | 31 | | |
35 | 32 | | |
36 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | 48 | | |
56 | 49 | | |
57 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
99 | 98 | | |
100 | 99 | | |
101 | 100 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | 9 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
224 | 227 | | |
225 | 228 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
39 | | - | |
| 41 | + | |
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
| |||
93 | 95 | | |
94 | 96 | | |
95 | 97 | | |
96 | | - | |
97 | | - | |
| 98 | + | |
| 99 | + | |
98 | 100 | | |
99 | 101 | | |
100 | 102 | | |
| |||
209 | 211 | | |
210 | 212 | | |
211 | 213 | | |
212 | | - | |
| 214 | + | |
| 215 | + | |
213 | 216 | | |
214 | 217 | | |
215 | 218 | | |
216 | 219 | | |
217 | 220 | | |
218 | 221 | | |
219 | 222 | | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
220 | 226 | | |
221 | 227 | | |
0 commit comments