Skip to content

Commit 9cf35c9

Browse files
committed
fix: replace npm ci with npm install due to npm 10.x bug
1 parent 682f76b commit 9cf35c9

File tree

4 files changed

+2201
-776
lines changed

4 files changed

+2201
-776
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
cache: 'npm'
2626

2727
- name: Install dependencies
28-
run: npm ci
28+
run: npm install
2929

3030
- name: Run linting
3131
run: npm run lint
@@ -56,11 +56,11 @@ jobs:
5656
- name: Setup Node.js
5757
uses: actions/setup-node@v4
5858
with:
59-
node-version: 20
59+
node-version: 22
6060
cache: 'npm'
6161

6262
- name: Install dependencies
63-
run: npm ci
63+
run: npm install
6464

6565
- name: Validate PR commits
6666
run: npx commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose

.github/workflows/manual-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ jobs:
3737
- name: Setup Node.js
3838
uses: actions/setup-node@v4
3939
with:
40-
node-version: 20
40+
node-version: 22
4141
cache: 'npm'
4242

4343
- name: Install dependencies
44-
run: npm ci
44+
run: npm install
4545

4646
- name: Run tests
4747
run: npm run test:coverage

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ jobs:
2525
- name: Setup Node.js
2626
uses: actions/setup-node@v4
2727
with:
28-
node-version: 20
28+
node-version: 22
2929
cache: 'npm'
3030

3131
- name: Install dependencies
32-
run: npm ci
32+
run: npm install
3333

3434
- name: Build package
3535
run: npm run build

0 commit comments

Comments
 (0)