Skip to content

Commit

Permalink
chore: use lts/*
Browse files Browse the repository at this point in the history
  • Loading branch information
TheUnderScorer committed Oct 27, 2023
1 parent 4b8dc7e commit 93a6e2d
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/analyze-commits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
description: 'Node version to use'
required: false
type: string
default: '20.x'
default: 'lts/*'

jobs:
commitlint:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-typescript-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
description: 'Node version to use'
required: false
type: string
default: '20.x'
default: 'lts/*'
artifactName:
description: 'Name of the artifact to upload'
required: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage-diff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
description: 'Node version to use'
required: false
type: string
default: '20.x'
default: 'lts/*'
testScript:
type: string
required: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs-and-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
description: 'Node version to use'
required: false
type: string
default: '20.x'
default: 'lts/*'
run-after-install:
type: string
required: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-typescript-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
description: 'Node version to use'
required: false
type: string
default: '20.x'
default: 'lts/*'
runAfterInstall:
type: string
required: false
Expand Down
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
|-------------------|----------|--------|------------|------------------------------------------------|
| `runAfterInstall` | No | String | `""` | Commands to run after installing dependencies. |
| `testScript` | No | String | `npx jest` | The test script to run. |
| `nodeVersion` | No | String | `20.x` | Node version to use |
| `nodeVersion` | No | String | `lts/*` | Node version to use |

#### Example of usage:

Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
| `prepare-gh-pages-commands` | No | String | <pre>mv docs ./gh-pages<br>mv coverage/lcov-report ./gh-pages/coverage</pre> | Commands to prepare the content of the `gh-pages` folder. The `gh-pages` folder will be created automatically. Only specify the commands for moving files into it. |
| `skip-docs-step` | No | Boolean | `false` | Skip the documentation generation step. |
| `run-after-install` | No | String | `""` | Commands to run after installing dependencies. |
| `node-version` | No | String | `20.x` | Node version to use |
| `node-version` | No | String | `lts/*` | Node version to use |

#### Example of usage with default behavior:

Expand Down Expand Up @@ -112,6 +112,12 @@ structure.

1. Project uses `Semantic release` for a release workflow

#### Inputs

| Input Parameter | Required | Type | Default | Description |
|-----------------|----------|--------|---------|---------------------|
| `nodeVersion` | No | String | `lts/*` | Node version to use |

#### Example of usage:

```yaml
Expand Down Expand Up @@ -150,7 +156,7 @@ jobs:
| `artifactName` | No | String | `""` | Name of the artifact to upload. If not provided, the artifact upload step will be skipped. |
| `artifactPath` | No | String | `"./dist"` | Path of the files to upload as artifact. |
| `runAfterInstall` | No | String | `""` | Commands to run after installing dependencies. |
| `nodeVersion` | No | String | `20.x` | Node version to use |
| `nodeVersion` | No | String | `lts/*` | Node version to use |

#### Examples of usage:

Expand Down Expand Up @@ -232,7 +238,7 @@ The workflow expects the following secrets to be provided:
|----------------------------|----------|---------|---------|-----------------------------------------------------------|
| `runAfterInstall` | No | String | `""` | Commands to run after installing dependencies. |
| `distFolderNeedForRelease` | No | Boolean | `false` | Flag that we need `dist` folder to start release process. |
| `nodeVersion` | No | String | `20.x` | Node version to use |
| `nodeVersion` | No | String | `lts/*` | Node version to use |

#### Usage

Expand Down

0 comments on commit 93a6e2d

Please sign in to comment.