Skip to content

Commit 9a21129

Browse files
Copilotgcatanese
andcommitted
fix: use npm ci consistently across all workflows
Co-authored-by: gcatanese <1771700+gcatanese@users.noreply.github.com>
1 parent 57f196f commit 9a21129

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/node-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
restore-keys: |
3333
${{ runner.os }}-node-
3434
- name: Install dependencies
35-
run: npm install
35+
run: npm ci --legacy-peer-deps
3636
- name: Lint code
3737
run: npm run lint:fix && npm run lint
3838

@@ -58,6 +58,6 @@ jobs:
5858
restore-keys: |
5959
${{ runner.os }}-node-
6060
- name: Install dependencies
61-
run: npm install
61+
run: npm ci --legacy-peer-deps
6262
- name: Run tests with coverage
6363
run: npm run test:coverage

.github/workflows/npmpublish.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
with:
2020
node-version: '18.x'
2121
- name: Install dependencies
22-
run: yarn install --frozen-lockfile
22+
run: npm ci --legacy-peer-deps
2323
- name: Build package
2424
run: npm run build
2525
- name: Run tests
@@ -51,4 +51,3 @@ jobs:
5151
run: npm publish
5252
env:
5353
NODE_AUTH_TOKEN: ${{ secrets.NPM_ADYEN_NODE_API_LIBRARY_TOKEN }}
54-

.github/workflows/sonarcloud.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
cache: 'npm'
2626

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

3030
- name: Run tests with coverage
3131
run: npm run test:coverage

0 commit comments

Comments
 (0)