Skip to content

Commit 6a7ae36

Browse files
committed
test 2
1 parent 6580e2f commit 6a7ae36

File tree

1 file changed

+31
-22
lines changed

1 file changed

+31
-22
lines changed

.github/workflows/ci.yml

Lines changed: 31 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -10,28 +10,37 @@ on:
1010
- "**" # Matches every branch for pull request events
1111

1212
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'
3544

3645
# # Step: Lint the code
3746
# lint:

0 commit comments

Comments
 (0)