Skip to content

Commit 9b7c0ea

Browse files
committed
Update CI workflow file to replace placeholders with project directory
1 parent 1126650 commit 9b7c0ea

1 file changed

Lines changed: 15 additions & 20 deletions

File tree

.github/workflows/ci.yml

Lines changed: 15 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# CI Workflow Update for Debugging npm install
1+
# CI Workflow
22

33
name: CI Workflow
44

@@ -12,25 +12,20 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- name: Checkout Repository
16-
uses: actions/checkout@v2
15+
- name: Checkout code
16+
uses: actions/checkout@v2
1717

18-
- name: List Project Directory
19-
run: |
20-
echo "Current directory structure:"
21-
ls -al
22-
cd <your-project-directory>
23-
echo "Project directory structure:"
24-
ls -al
18+
- name: Set up JDK
19+
uses: actions/setup-java@v1
20+
with:
21+
java-version: '11'
2522

26-
- name: Install Dependencies
27-
run: |
28-
cd <your-project-directory>
29-
echo "Running npm install..."
30-
npm install --verbose
23+
- name: Run tests
24+
run: |
25+
cd ./automated-testing
26+
./gradlew test
3127
32-
- name: Run Tests
33-
run: |
34-
cd <your-project-directory>
35-
echo "Running tests..."
36-
npm test --verbose
28+
- name: Build
29+
run: |
30+
cd ./automated-testing
31+
./gradlew build

0 commit comments

Comments
 (0)