Skip to content

Commit ee42b1f

Browse files
Agregar configuración de pnpm en los workflows de auditoría, lint y prettier
1 parent c888ddd commit ee42b1f

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

.github/workflows/audit.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ jobs:
2424
uses: actions/setup-node@v4
2525
with:
2626
node-version: '20'
27+
- name: Setup pnpm
28+
run: |
29+
npm install -g pnpm
30+
pnpm --version
2731
- name: Instalar dependencias
2832
run: pnpm install
2933
- name: Ejecutar auditoría de seguridad y mostrar ayuda si falla

.github/workflows/lint.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ jobs:
2020
uses: actions/setup-node@v4
2121
with:
2222
node-version: '20'
23+
- name: Setup pnpm
24+
run: |
25+
npm install -g pnpm
26+
pnpm --version
2327
- name: Instalar dependencias
2428
run: pnpm install
2529
- name: Ejecutar ESLint y mostrar ayuda si falla

.github/workflows/prettier.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ jobs:
1717
steps:
1818
- name: Checkout repository
1919
uses: actions/checkout@v4
20+
- name: Setup pnpm
21+
run: |
22+
npm install -g pnpm
23+
pnpm --version
2024
- name: Instalar dependencias
2125
run: pnpm install
2226
- name: Ejecutar Prettier Fix

0 commit comments

Comments
 (0)