From 7d3d040b696a49201eb67d778b8a57efaf4fc6fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Junior?= <77794636+kwaark@users.noreply.github.com> Date: Wed, 17 May 2023 20:14:39 -0300 Subject: [PATCH 1/2] Create CI.yml --- .github/workflows/CI.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/CI.yml diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml new file mode 100644 index 0000000..866dece --- /dev/null +++ b/.github/workflows/CI.yml @@ -0,0 +1,35 @@ +name: CI + +on: + pull_request: + branches: [ "main" ] + + workflow_dispatch: + +jobs: + Ci: + runs-on: ubuntu-latest + + steps: + + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Set up Node.js 16.x + uses: actions/setup-node@v3 + with: + node-version: 16.x + + - name: Install dependencies + run: npm install + + - name: Run the tests + run: npm run test -- --coverage + env: + CI: true + + - name: SonarCloud Scan + uses: SonarSource/sonarcloud-github-action@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} From b8759c77418ea8bd7f1ac099253fdf04aee52431 Mon Sep 17 00:00:00 2001 From: Mateus Paiva <72986265+MatteusP@users.noreply.github.com> Date: Wed, 17 May 2023 20:49:08 -0300 Subject: [PATCH 2/2] Update App.js --- src/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.js b/src/App.js index 82ce5b9..9dfd858 100644 --- a/src/App.js +++ b/src/App.js @@ -7,7 +7,7 @@ function App() {
logo

- DevOps Básico IT Talent - Mudanças aula 26-04-2023 + DevOps Básico IT Talent - Pré-Hackaton DevOps Grupo 1