Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
format:
if: ${{ github.event.commits != null && !startsWith(github.event.head_commit.message, 'style(fmt)') }}
if: ${{ github.event.commits != null && !startsWith(github.event.head_commit.message, 'style(fmt)') }}
permissions:
contents: write
runs-on: ubuntu-latest
Expand All @@ -19,7 +19,7 @@ jobs:
with:
node-version: 20.x
- run: |
npm install
npm ci --legacy-peer-deps
npm run lint:fix
- run: |
git config user.name AdyenAutomationBot
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/node-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: npm install
run: npm ci --legacy-peer-deps
- name: Lint code
run: npm run lint:fix && npm run lint

Expand All @@ -58,6 +58,6 @@ jobs:
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: npm install
run: npm ci --legacy-peer-deps
- name: Run tests with coverage
run: npm run test:coverage
3 changes: 1 addition & 2 deletions .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
with:
node-version: '18.x'
- name: Install dependencies
run: yarn install --frozen-lockfile
run: npm ci --legacy-peer-deps
- name: Build package
run: npm run build
- name: Run tests
Expand Down Expand Up @@ -51,4 +51,3 @@ jobs:
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_ADYEN_NODE_API_LIBRARY_TOKEN }}

2 changes: 1 addition & 1 deletion .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
cache: 'npm'

- name: Install dependencies
run: npm install
run: npm ci --legacy-peer-deps

- name: Run tests with coverage
run: npm run test:coverage
Expand Down
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,4 @@ node_modules
coverage/
.env
lib/
build/
package-lock.json
build/
Loading