diff --git a/.github/workflows/merge-main.yml b/.github/workflows/merge-main.yml index 2c4fdce3c9..a58fc81c5e 100644 --- a/.github/workflows/merge-main.yml +++ b/.github/workflows/merge-main.yml @@ -74,11 +74,11 @@ jobs: steps: - uses: bcgov-nr/action-test-and-analyse@v0.0.1 env: - VITE_BACKEND_URL: http://localhost:3000 - VITE_FRONTEND_URL: http://localhost:8080 + VITE_BACKEND_URL: http://localhost:8080 + VITE_FRONTEND_URL: http://localhost:3000 VITE_KEYCLOAK_URL: VITE_KEYCLOAK_CLIENT_ID: 1234 - VITE_NODE_ENV: + VITE_NODE_ENV: openshift-dev with: node_version: 18 commands: | @@ -86,8 +86,8 @@ jobs: npm run coverage dir: frontend sonar_args: > - -Dsonar.javascript.lcov.reportPaths=coverage/lcov.info - -Dsonar.exclusions=**/coverage/**/*,**/dist/**/*,**/tests/**/*,**/public/**/*,**/node_modules/**,.eslintrc.cjs,.eslintrc.js,components.d.ts,env.d.ts,src/routes.ts,src/shims-vue.d.ts,vite.config.ts,**/*Dto.ts,src/CoreConstants.ts,src/main.ts + -Dsonar.exclusions=**/coverage/**,**/tests/**,**/stubs/**,**/reports/**,**/cypress/**,,**/assets/**,,**/dto/**,**/CoreConstants.ts,**/main.ts,**/routes.ts,**/sims-vue.d.ts,**/styles.ts,**/components.d.ts + -Dsonar.javascript.lcov.reportPaths=coverage/lcov.info -Dsonar.organization=bcgov-sonarcloud -Dsonar.projectKey=forest-client-frontend sonar_project_token: ${{ secrets.SONAR_TOKEN_FRONTEND }}