Skip to content

AD-321: Implement Configuration for Enabling Express Payments #28

AD-321: Implement Configuration for Enabling Express Payments

AD-321: Implement Configuration for Enabling Express Payments #28

Workflow file for this run

name: SonarCloud Scan
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
sonarcloud:
name: SonarCloud Scan
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20.12.2'
- name: Set up Java 17
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
- name: Run SonarCloud scan
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: |
npm install -g sonar-scanner
sonar-scanner \
-Dsonar.projectKey=Adyen_adyen-spartacus \
-Dsonar.organization=adyen \
-Dsonar.sources=. \
-Dsonar.host.url=https://sonarcloud.io \
-Dsonar.login=${{ secrets.SONAR_TOKEN }}