Skip to content

Commit b697d7c

Browse files
committed
Ajustes de readme y CI para test
Ajustes de readme y CI para test
1 parent c352f94 commit b697d7c

2 files changed

Lines changed: 12 additions & 14 deletions

File tree

.github/workflows/ci.yml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,23 @@
11
name: CI
2-
on:
3-
push:
4-
branches: [ main ]
5-
pull_request:
6-
branches: [ main ]
2+
on: [push, pull_request]
73

84
jobs:
95
build:
106
runs-on: windows-latest
7+
118
steps:
129
- uses: actions/checkout@v4
13-
- name: Setup PowerShell
14-
uses: PowerShell/PowerShell@v1
15-
with:
16-
pwsh-version: '7.x'
10+
11+
# Instala los módulos que necesitas
1712
- name: Install modules
18-
run: Install-Module PSScriptAnalyzer,Pester -Force -Scope CurrentUser
13+
shell: pwsh # <-- usa el pwsh del runner
14+
run: |
15+
Install-Module PSScriptAnalyzer,Pester -Force -Scope CurrentUser
16+
1917
- name: Lint
18+
shell: pwsh
2019
run: Invoke-ScriptAnalyzer -Path scripts/dark.ps1 -Recurse -Severity Warning
21-
- name: Test
20+
21+
- name: Tests
22+
shell: pwsh
2223
run: Invoke-Pester -Path tests -Passthru

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,6 @@ puedes crear una carpeta propia donde tengas tus bat o ejecutables a los que qui
5959
3. pega los archivos que se encuentran en script tanto el dark.bat como el dark.ps1
6060
4. ejecuta desde win + r o ejecutar "dark"
6161

62-
```powershell
63-
Install-Module ToggleDarkMode -Scope CurrentUser
64-
```
6562

6663
</details>
6764

0 commit comments

Comments
 (0)