X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.github%2Fworkflows%2Fci.yml;h=c3cf2b49521a9347713a23a8ff73d24f32de8d73;hb=1cb34ccdfbee11b6a7057b5f4b92be7d7dd3560f;hp=6a98db2ad4beaec08dde94d1b47148badad7c634;hpb=a45e3d8766fbd6cbc4af6e1a52d95ce8fc6c9ac4;p=e-mobility-charging-stations-simulator.git diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6a98db2a..c3cf2b49 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,7 +3,7 @@ on: push: branches: - master - pull_request: + pull_request_target: types: [opened, synchronize, reopened] branches: - master @@ -23,11 +23,11 @@ jobs: node-version: ${{ matrix.node-version }} - name: npm install run: npm ci - - name: npm run build - run: npm run build - name: npm run lint run: npm run lint continue-on-error: true + - name: npm run build + run: npm run build - name: npm test run: npm test - name: npm run coverage @@ -35,7 +35,7 @@ jobs: - name: SonarCloud Scan uses: SonarSource/sonarcloud-github-action@master env: - GITHUB_TOKEN: ${{ secrets.USER_TOKEN }} # Needed to get PR information, if any + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} build-docker: runs-on: ubuntu-latest