File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,19 +26,19 @@ jobs:
2626 node-version : ${{ matrix.node-version }}
2727
2828 - name : Install Dependencies
29- run : npm install
29+ run : make setup
3030
3131 - name : Lint Check
32- run : npm run lint
32+ run : make lint
3333
3434 - name : Prettier Check
35- run : npm run format: check
35+ run : make format- check
3636
3737 - name : Build Project
38- run : npm run build
38+ run : make build
3939
4040 - name : Run Tests
41- run : npm run test
41+ run : make run-tests
4242
4343 - name : Log Node.js Version
4444 run : echo "Tested on Node.js version ${{ matrix.node-version }}"
Original file line number Diff line number Diff line change @@ -2,15 +2,15 @@ include .github/build/Makefile.show-help.mk
22
33.PHONY : setup build format-check format-fix lint
44
5- # # Install Sistent dependencies on your local machine.
5+ # # Install Sistent dependencies on your local machine
66setup :
77 npm install
88
9- # # Build Sistent components and packages on your local machine.
9+ # # Build Sistent components and packages on your local machine
1010build :
1111 npm run build
1212
13- # # Buid Sistent in watch mode.
13+ # # Buid Sistent in watch mode
1414build-watch :
1515 npm run build:watch
1616
@@ -22,10 +22,14 @@ format-check:
2222format-fix :
2323 npm run format:write
2424
25- # # Run Eslint on your local machine.
25+ # # Run Eslint on your local machine
2626lint :
2727 npm run lint
2828
29+ # # Run tests
30+ run-tests :
31+ npm run test
32+
2933.PHONY : version-patch version-minor version-major
3034
3135# Create a patch version of packages
Original file line number Diff line number Diff line change @@ -71,6 +71,12 @@ To run Eslint:
7171make lint
7272```
7373
74+ To run tests:
75+
76+ ```
77+ make run-tests
78+ ```
79+
7480To attach sistent to your project use:
7581
7682```
You can’t perform that action at this time.
0 commit comments