Skip to content

Commit fe25255

Browse files
committed
🤞 [2.3.0] - CI Test Fix
1 parent c19545d commit fe25255

File tree

3 files changed

+3
-17
lines changed

3 files changed

+3
-17
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,8 @@ jobs:
2323
node-version: ${{ matrix.node-version }}
2424
cache: 'npm'
2525

26-
- name: Update npm
27-
run: |
28-
if [[ "${{ matrix.node-version }}" == "18.x" ]]; then
29-
npm install -g npm@10
30-
else
31-
npm install -g npm@latest
32-
fi
33-
3426
- name: Install dependencies
35-
run: npm ci --legacy-peer-deps
27+
run: npm ci --legacy-peer-deps --no-optional
3628

3729
- name: Run tests
3830
run: npm test

.github/workflows/publish.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,8 @@ jobs:
2222
registry-url: 'https://registry.npmjs.org'
2323
cache: 'npm'
2424

25-
- name: Update npm
26-
run: npm install -g npm@10
27-
2825
- name: Install dependencies
29-
run: npm ci --legacy-peer-deps
26+
run: npm ci --legacy-peer-deps --no-optional
3027

3128
- name: Run tests
3229
run: npm test

.github/workflows/test-coverage.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,8 @@ jobs:
1919
node-version: '20.x'
2020
cache: 'npm'
2121

22-
- name: Update npm
23-
run: npm install -g npm@10
24-
2522
- name: Install dependencies
26-
run: npm ci --legacy-peer-deps
23+
run: npm ci --legacy-peer-deps --no-optional
2724

2825
- name: Run tests with coverage
2926
run: npm run test:coverage

0 commit comments

Comments
 (0)