|
10 | 10 | - "**" # Matches every branch for pull request events
|
11 | 11 |
|
12 | 12 | jobs:
|
13 |
| - # Step: Cache Node.js Modules |
14 |
| - install-dependencies: |
15 |
| - runs-on: ubuntu-latest |
16 |
| - steps: |
17 |
| - - name: Checkout Code |
18 |
| - uses: actions/checkout@v3 |
19 |
| - |
20 |
| - - name: Cache and Install Server Dependencies |
21 |
| - uses: SAINIAbhishek/shared-workflows/.github/workflows/cache-install-dependencies.yml@main |
22 |
| - with: |
23 |
| - node-version: '20.17.0' |
24 |
| - lock-file: 'server/package-lock.json' |
25 |
| - cache-path: 'server/node_modules' |
26 |
| - cache-key-prefix: 'server-node' |
27 |
| - |
28 |
| - - name: Cache and Install Frontend Dependencies |
29 |
| - uses: SAINIAbhishek/shared-workflows/.github/workflows/cache-install-dependencies.yml@main |
30 |
| - with: |
31 |
| - node-version: '20.17.0' |
32 |
| - lock-file: 'frontend/package-lock.json' |
33 |
| - cache-path: 'frontend/node_modules' |
34 |
| - cache-key-prefix: 'frontend-node' |
| 13 | + # Step: Cache and Install Frontend Dependencies |
| 14 | + frontend-dependencies: |
| 15 | + uses: SAINIAbhishek/shared-workflows/.github/workflows/cache-install-dependencies.yml@main |
| 16 | + with: |
| 17 | + node-version: "20.17.0" |
| 18 | + lock-file: "frontend/package-lock.json" |
| 19 | + cache-path: "frontend/node_modules" |
| 20 | + cache-key-prefix: "frontend-node" |
| 21 | + |
| 22 | + # # Step: Cache Node.js Modules |
| 23 | + # install-dependencies: |
| 24 | + # runs-on: ubuntu-latest |
| 25 | + # steps: |
| 26 | + # - name: Checkout Code |
| 27 | + # uses: actions/checkout@v3 |
| 28 | + |
| 29 | + # - name: Cache and Install Server Dependencies |
| 30 | + # uses: SAINIAbhishek/shared-workflows/.github/workflows/cache-install-dependencies.yml@main |
| 31 | + # with: |
| 32 | + # node-version: '20.17.0' |
| 33 | + # lock-file: 'server/package-lock.json' |
| 34 | + # cache-path: 'server/node_modules' |
| 35 | + # cache-key-prefix: 'server-node' |
| 36 | + |
| 37 | + # - name: Cache and Install Frontend Dependencies |
| 38 | + # uses: SAINIAbhishek/shared-workflows/.github/workflows/cache-install-dependencies.yml@main |
| 39 | + # with: |
| 40 | + # node-version: '20.17.0' |
| 41 | + # lock-file: 'frontend/package-lock.json' |
| 42 | + # cache-path: 'frontend/node_modules' |
| 43 | + # cache-key-prefix: 'frontend-node' |
35 | 44 |
|
36 | 45 | # # Step: Lint the code
|
37 | 46 | # lint:
|
|
0 commit comments