Skip to content

Commit b973c39

Browse files
author
Nicolas Hansse
committed
chore: code review
1 parent 2542fcb commit b973c39

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ lint:
7272
cache: "npm"
7373

7474
- name: Install dependencies
75-
run: npm install
75+
run: npm ci
7676

7777
- name: Run lint
7878
run: npm run lint
@@ -128,7 +128,7 @@ verify-typescript-types:
128128
cache: "npm"
129129
130130
- name: Install dependencies
131-
run: npm install
131+
run: npm ci
132132
133133
- name: Verify typescript types
134134
run: npm run typing-check
@@ -138,7 +138,7 @@ verify-typescript-types:
138138

139139
- `actions/setup-node@v4`: This action sets up the Node.js environment, including caching npm dependencies to speed up future runs.
140140

141-
- `npm install`: This installs the project's dependencies.
141+
- `npm ci`: This installs the project's dependencies from the package-lock.
142142

143143
- `npm run typing-check`: This runs the type-checking script to ensure there are no TypeScript errors in the code.
144144

@@ -186,7 +186,7 @@ code-coverage:
186186
cache: "npm"
187187
188188
- name: Install dependencies
189-
run: npm install
189+
run: npm ci
190190
191191
- name: Run code coverage
192192
run: npm run coverage
@@ -200,7 +200,7 @@ code-coverage:
200200

201201
- `actions/setup-node@v4`: This action sets up the Node.js environment, including caching npm dependencies to speed up future runs.
202202

203-
- `npm install`: This installs the project's dependencies.
203+
- `npm ci`: This installs the project's dependencies from the package-lock.
204204

205205
- `npm run coverage`: This command runs the tests and generates coverage reports.
206206

0 commit comments

Comments
 (0)