We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75543d6 commit 9e53971Copy full SHA for 9e53971
1 file changed
.github/workflows/ci.yml
@@ -6,6 +6,11 @@ on:
6
pull_request:
7
branches: [ main, master ]
8
9
+# Esto le dice a GitHub que entre a la carpeta email-api para ejecutar todo
10
+defaults:
11
+ run:
12
+ working-directory: email-api
13
+
14
jobs:
15
build-and-test:
16
runs-on: ubuntu-latest
@@ -33,6 +38,8 @@ jobs:
33
38
with:
34
39
node-version: '20'
35
40
cache: 'npm'
41
+ # Aquí también ajustamos la ruta del lock file
42
+ cache-dependency-path: email-api/package-lock.json
36
43
37
44
- name: Install dependencies
45
run: npm install
@@ -44,4 +51,4 @@ jobs:
51
SENDGRID_API_KEY: ${{ secrets.SENDGRID_API_KEY }}
52
EMAIL: ${{ secrets.EMAIL }}
46
53
NODE_ENV: test
47
- run: npm test
54
+ run: npm test
0 commit comments