Skip to content

Commit 6c7359f

Browse files
committed
ci(makefile): made changes and renamed
Signed-off-by: shinigami-777 <chattopadhyaytamaghna@gmail.com>
1 parent 553b04f commit 6c7359f

4 files changed

Lines changed: 13 additions & 22 deletions

File tree

.github/workflows/node-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
run: make build
3939

4040
- name: Run Tests
41-
run: make run-tests
41+
run: make test-run
4242

4343
- name: Log Node.js Version
4444
run: echo "Tested on Node.js version ${{ matrix.node-version }}"

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ Users can now test their code on their local machine against the CI checks imple
106106
To test code changes on your local machine, run the following command:
107107

108108
```
109-
make run-tests
109+
make test-run
110110
```
111111

112112
#### Building Docker image

Makefile

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,20 @@ build:
1111
npm run build
1212

1313
## Buid Sistent in watch mode
14-
build-watch:
14+
watch-build:
1515
npm run build:watch
1616

1717
## Check code formatting
1818
format-check:
1919
npm run format:check
2020

21-
## Fix code formatting
22-
format-fix:
23-
npm run format:write
24-
25-
## Run Eslint on your local machine
21+
## Fix formatting and run Eslint on your local machine
2622
lint:
23+
npm run format:write
2724
npm run lint
2825

2926
## Run tests
30-
run-tests:
27+
test-run:
3128
npm run test
3229

3330
.PHONY: version-patch version-minor version-major

README.md

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -41,28 +41,22 @@ To set up the project, run the following command to install dependencies:
4141
make setup
4242
```
4343

44-
To check if your code meets the formatting standards, you can run:
45-
46-
```
47-
make format-check
48-
```
49-
50-
To automatically fix formatting issues, you can run:
44+
To test the sistent component locally, you can run:
5145

5246
```
53-
make format-fix
47+
make build
5448
```
5549

56-
To test the sistent component locally, you can run:
50+
If you wish to build in watch mode:
5751

5852
```
59-
make build
53+
make watch-build
6054
```
6155

62-
If you wish to build in watch mode:
56+
To check if your code meets the formatting standards, you can run:
6357

6458
```
65-
make build-watch
59+
make format-check
6660
```
6761

6862
To run Eslint:
@@ -74,7 +68,7 @@ make lint
7468
To run tests:
7569

7670
```
77-
make run-tests
71+
make test-run
7872
```
7973

8074
To attach sistent to your project use:

0 commit comments

Comments
 (0)