Skip to content

Commit b428722

Browse files
Achanandhi-Mactions-user
authored andcommitted
feat: update ci pipeline
Signed-off-by: Achanandhi-M <achanandhi.m@gmail.com>
1 parent 90ee928 commit b428722

26 files changed

+15
-108
lines changed

.github/workflows/lint.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout code
14-
uses: actions/checkout@v3
14+
uses: actions/checkout@v4
1515
with:
1616
fetch-depth: 0
1717

1818
- name: Set up Node.js
19-
uses: actions/setup-node@v2
19+
uses: actions/setup-node@v5
2020
with:
21-
node-version: '18.0.0'
21+
node-version: '20.0.0'
2222

2323
- name: Install Dependencies
2424
run: npm install

.github/workflows/prettify_code.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@ jobs:
1212

1313
steps:
1414
- name: Checkout
15-
uses: actions/checkout@v3
15+
uses: actions/checkout@v4
1616
with:
1717
ref: ${{ github.head_ref }}
1818
fetch-depth: 0
1919

2020
- name: Prettify code
21-
uses: creyD/prettier_action@v4.3
21+
uses: creyD/prettier_action@v4.6
2222
with:
2323
# This part is also where you can pass other options, for example:
24-
prettier_version: 2.8.8
24+
#prettier_version: 2.8.8
2525
prettier_options: --write **/*.{js,md}
2626
same_commit: true
2727

.github/workflows/vale-lint-action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
# Fails the action if there are errors
2020
fail_on_error: true
2121
# Lint the files in the "versioned_docs/version-2.0.0/" directory
22-
files: 'versioned_docs/version-2.0.0'
22+
files: 'versioned_docs/version-3.0.0'
2323
# Specify the Vale version
2424
version: 3.0.3
2525
env:

docs/hacktoberfest/contribution-guide.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ If you’ve ever wanted to contribute to open source, now is your chance! You ca
1919
Anyone around the globe who desires to help drive the growth of open source and make positive contributions to an ever-growing community. All backgrounds and skill levels are encouraged to participate.
2020

2121
- Code Contributribution to Keploy Projects includes:
22-
2322
- Bug fixes
2423
- New features
2524
- Design

src/components/EnterpriseInstallReminder.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ export default function EnterpriseInstallReminder() {
1919
};
2020

2121
return (
22-
<div
23-
style={containerStyle}
24-
>
25-
<h3 style={{marginTop: 0, color: isDark ? "#fff" : "#222"}}>Don’t have Keploy installed yet?</h3>
22+
<div style={containerStyle}>
23+
<h3 style={{marginTop: 0, color: isDark ? "#fff" : "#222"}}>
24+
Don’t have Keploy installed yet?
25+
</h3>
2626
<p style={{color: isDark ? "#ccc" : undefined}}>
2727
Before running this sample, make sure Keploy Enterprise version is
2828
installed on your system.

src/components/InstallReminder.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ export default function InstallReminder() {
1919
};
2020

2121
return (
22-
<div
23-
style={containerStyle}
24-
>
25-
<h3 style={{marginTop: 0, color: isDark ? "#fff" : "#222"}}>Don’t have Keploy installed yet?</h3>
22+
<div style={containerStyle}>
23+
<h3 style={{marginTop: 0, color: isDark ? "#fff" : "#222"}}>
24+
Don’t have Keploy installed yet?
25+
</h3>
2626
<p style={{color: isDark ? "#ccc" : undefined}}>
2727
Before running this sample, make sure Keploy is installed on your
2828
system.

versioned_docs/version-1.0.0/concepts/what-is-a-keploy-sdk.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ keywords:
1414
A Keploy SDK is a language-specific library that offers APIs to do the following:
1515

1616
1. Capture all the network calls like
17-
1817
- API Request
1918
- Dependency calls
2019
- API Response

versioned_docs/version-1.0.0/hacktoberfest/contribution-guide.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ If you’ve ever wanted to contribute to open source, now is your chance! You ca
1919
Anyone around the globe who desires to help drive the growth of open source and make positive contributions to an ever-growing community. All backgrounds and skill levels are encouraged to participate.
2020

2121
- Code Contributribution to Keploy Projects includes:
22-
2322
- Bug fixes
2423
- New features
2524
- Design

versioned_docs/version-1.0.0/java/integration.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,13 @@ Sync dependencies or to _build.gradle_:
3434
compile 'io.keploy:keploy-sdk:1.0.13'
3535

3636
2. Install Keploy Jar
37-
3837
- Download the latest jar from [here](https://search.maven.org/artifact/io.keploy/keploy-sdk/1.2.6/jar) (eg: 1.2.6) to mock external/internal dependency calls like DB queries, GMaps, S3 etc..
39-
4038
- Add the jar into the `main` directory
41-
4239
- Add `-javaagent:` prefix with absolute classpath of Keploy jar downloaded above
4340

4441
(For example: `-javaagent:/Users/jhon/project/src/main/agent-1.2.5.jar`)
4542

4643
You can set this through 3 ways:-
47-
4844
1. {'<'}details{'>'}{'<'}summary{'>'}
4945
Using Intellij
5046
{'<'}/summary{'>'}
@@ -75,7 +71,6 @@ Sync dependencies or to _build.gradle_:
7571
## Supported Frameworks
7672
7773
- **For Spring based application**
78-
7974
- Add `@Import(KeployMiddleware.class)` below `@SpringBootApplication` in your main class.
8075
8176
```java
@@ -93,7 +88,6 @@ Sync dependencies or to _build.gradle_:
9388
```
9489
9590
- **For Java EE application**
96-
9791
- Specify the below filter above all other filters and servlets in the **web.xml** file.
9892
9993
```xml
@@ -109,7 +103,6 @@ Sync dependencies or to _build.gradle_:
109103
```
110104
111105
- **Configure Environment Variables** (optional)
112-
113106
- `APP_NAME` (default APP_NAME = myApp)
114107
- `APP_PORT` (default APP_PORT = 6789)
115108
- `KEPLOY_URL` (default KEPLOY_URL = localhost:6789/api)

versioned_docs/version-1.0.0/java/quickstart/spring-sql.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,12 @@ Sync dependencies or to _build.gradle_:
3939
2. Install Keploy Jar
4040

4141
- Download the latest jar from [here](https://search.maven.org/artifact/io.keploy/keploy-sdk/1.2.6/jar) (eg: 1.2.6) to mock external/internal dependency calls like DB queries, GMaps, S3 etc..
42-
4342
- Add the jar into the `main` directory
44-
4543
- **Copy** `-javaagent:` prefix with absolute classpath of Keploy jar downloaded above
4644

4745
(For example: `-javaagent:/Users/jhon/project/src/main/agent-1.2.5.jar`)
4846

4947
You can set this through 3 ways:-
50-
5148
1. {'<'}details{'>'}{'<'}summary{'>'}
5249
Using Intellij
5350
{'<'}/summary{'>'}
@@ -181,12 +178,10 @@ _NOTE: You will be required to set the `javaagent` again in your test profile ju
181178
```
182179

183180
- **Using IDE:** _(for local use-case we prefer running tests via IDE)_
184-
185181
1. Run your application.
186182
2. You can also run the application with coverage to see the test coverage.
187183

188184
- **Using CLI**
189-
190185
1. Add maven-surefire-plugin to your `pom.xml`. In `<argLine > </ argLine >` **don't** add jacoco agent if you don't want coverage report.
191186

192187
{'<'}details{'>'}{'<'}summary{'>'}
@@ -215,7 +210,6 @@ _NOTE: You will be required to set the `javaagent` again in your test profile ju
215210
```
216211

217212
{'<'}/details{'>'}
218-
219213
2. If you want coverage report also add Jacoco plugin to your _pom.xml_.
220214

221215
{'<'}details{'>'}{'<'}summary{'>'}
@@ -260,7 +254,6 @@ _NOTE: You will be required to set the `javaagent` again in your test profile ju
260254
```
261255

262256
{'<'}/details{'>'}
263-
264257
3. Run your tests using command : `mvn test`.
265258

266259
It will create .html files as test-reports which can be found in your target folder !!

0 commit comments

Comments
 (0)