Skip to content

Commit ea64ba2

Browse files
committed
Update GitHub Actions workflow to use npm ci for dependency installation and change Node.js version from 16 to 20.
1 parent 550abce commit ea64ba2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/npm.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
node-version: ${{ matrix.node-version }}
2525

2626
- name: Install Dependencies
27-
run: npm install
27+
run: npm ci
2828

2929
- name: Test
3030
run: npm test
@@ -47,7 +47,7 @@ jobs:
4747
node-version: ${{ matrix.node}}
4848

4949
- name: Install Dependencies
50-
run: npm install
50+
run: npm ci
5151

5252
- name: Generate Package JSON
5353
run: ./scripts/generate-package-json.sh
@@ -64,11 +64,11 @@ jobs:
6464
- uses: actions/checkout@v4
6565
- uses: actions/setup-node@v4
6666
with:
67-
node-version: 16
67+
node-version: 20
6868
registry-url: https://registry.npmjs.org/
6969

7070
- name: Install Dependencies
71-
run: npm install
71+
run: npm ci
7272

7373
- name: Generate Package JSON
7474
run: ./scripts/generate-package-json.sh

0 commit comments

Comments
 (0)