You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Description
- Fix documentation linting
## Type of change
<!-- Use the check-boxes [x] on the options that are relevant. -->
- [ ] 📖 [Docs]
- [x] 🪲 [Fix]
- [ ] 🩹 [Patch]
- [ ] ⚠️ [Security fix]
- [ ] 🚀 [Feature]
- [ ] 🌟 [Breaking change]
## Checklist
<!-- Use the check-boxes [x] on the options that are relevant. -->
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
Copy file name to clipboardExpand all lines: README.md
+4-25Lines changed: 4 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,10 +18,10 @@ The workflow is designed to be trigger on pull requests to the repository's defa
18
18
When a pull request is opened, closed, reopened, synchronized (push), or labeled, the workflow will run.
19
19
Depending on the labels in the pull requests, the workflow will result in different outcomes.
20
20
21
-
-[Initialize-PSModule](https://github.com/PSModule/Initialize-PSModule/) - Prepares the runner with all the framework requirements.
22
-
-[Test-PSModule](https://github.com/PSModule/Test-PSModule/) - Tests the source code using only PSScriptAnalyzer and the PSModule test suites.
23
21
-[Build-PSModule](https://github.com/PSModule/Build-PSModule/) - Compiles the repository into an efficient PowerShell module.
24
-
-[Test-PSModule](https://github.com/PSModule/Test-PSModule/) - Tests the compiled module using PSScriptAnalyzer, PSModule and module tests suites from the module repository.
22
+
-[Test-PSModule](https://github.com/PSModule/Test-PSModule/) - Tests the compiled module using PSScriptAnalyzer, PSModule and module tests suites from the module repository. This runs on 4 different environments to check compatibility.
23
+
- PowerShell 7.x on Windows, Ubuntu and macOS.
24
+
- Windows PowerShell 5.1 on Windows.
25
25
-[Publish-PSModule](https://github.com/PSModule/Publish-PSModule/) - Publishes the module to the PowerShell Gallery, docs to GitHub Pages, and creates a release on the GitHub repository.
26
26
27
27
To use the workflow, create a new file in the `.github/workflows` directory of the module repository and add the following content.
@@ -79,28 +79,6 @@ The following secrets are **required** for the workflow to run:
79
79
|`GITHUB_TOKEN`|`github` context | The token used to authenticate with GitHub. |`${{ secrets.GITHUB_TOKEN }}`|
80
80
|`APIKey`| GitHub secrets | The API key for the PowerShell Gallery. | N/A |
81
81
82
-
## In detail
83
-
84
-
The following steps will be run when the workflow triggers:
- Compiles the `src` directory into a PowerShell module and docs.
94
-
- The compiled module is output to the `outputs/modules` directory.
95
-
- The compiled docs are output to the `outputs/docs` directory.
96
-
- Test built module [PSModule/Test-PSModule](https://github.com/PSModule/Test-PSModule/)
97
-
- Looks for the module in the `outputs/modules` directory and runs the PSScriptAnalyzer, PSModule testing suite and the custom module tests from the `tests` directory on the code.
0 commit comments