ci: delete ci, not needed and another attempt to fix sonar analysis

This commit is contained in:
Ricardo Campos
2024-09-20 10:44:57 -03:00
parent bf35432562
commit 911fb7ccb2
3 changed files with 2 additions and 38 deletions
-36
View File
@@ -1,36 +0,0 @@
name: CI
on:
push:
branches:
- '*'
- '*/*'
jobs:
code-checks:
name: Code Checks
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }}
- name: Set up Node
uses: actions/setup-node@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
node-version: '20'
restore-keys: |
${{ runner.os }}-node-
- name: Clean and Install
run: cd client && npm ci
- name: Build
run: cd client && npm run build
- name: Lint
run: cd client && npm run lint
#- name: Unit tests
# run: npm run test
+1 -1
View File
@@ -48,7 +48,7 @@ jobs:
-Dsonar.projectKey=ricardo-campos-org_react-typescript-todolist
-Dsonar.javascript.lcov.reportPaths=coverage/lcov.info
-Dsonar.sources=src/
-Dsonar.test.exclusions=src/__test__/setup.ts,src/__test__/__mocks__/
-Dsonar.test.exclusions=src/__test__/setup.ts,src/__test__/__mocks__/**
-Dsonar.tests=src/__test__/
-Dsonar.verbose=true
env:
+1 -1
View File
@@ -44,7 +44,7 @@ jobs:
-Dsonar.projectKey=ricardo-campos-org_react-typescript-todolist
-Dsonar.javascript.lcov.reportPaths=coverage/lcov.info
-Dsonar.sources=src/
-Dsonar.test.exclusions=src/__test__/setup.ts,src/__test__/__mocks__/
-Dsonar.test.exclusions=src/__test__/setup.ts,src/__test__/__mocks__/**
-Dsonar.tests=src/__test__/
-Dsonar.verbose=true
env: