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
6 changes: 5 additions & 1 deletion .github/workflows/sonarscan.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: SonarCloud

env:
NPMRC: ${{ secrets.NPMRC }}
on:
pull_request_target:
types: [opened, synchronize, reopened]
Expand All @@ -19,6 +21,8 @@ jobs:
with:
java-version: '17'
distribution: 'adopt'
- name: Add .npmrc file
run: echo -e $NPMRC > ~/.npmrc
- name: Cache SonarCloud packages
uses: actions/cache@v4
with:
Expand All @@ -36,6 +40,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: |
export MAVEN_OPTS="-Xmx3072m"
export MAVEN_OPTS="-Xmx4096m"
export NODE_OPTIONS="--max-old-space-size=4096"
mvn --settings /home/runner/work/nr-bcws-wfprev/nr-bcws-wfprev/server/wfprev-api/mvn_settings/settings.xml -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=bcgov_nr-bcws-wfprev -Drepo.login=${{ secrets.IDIR_AS_EMAIL }} -Drepo.password=${{ secrets.IDIR_PASSWORD }} -DskipTests
4 changes: 2 additions & 2 deletions server/wfprev-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -221,10 +221,10 @@
</execution>
</executions>
</plugin>
<!-- <plugin>
<plugin>
<groupId>org.graalvm.buildtools</groupId>
<artifactId>native-maven-plugin</artifactId>
</plugin> -->
</plugin>
<plugin>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctor-maven-plugin</artifactId>
Expand Down
Loading