From 4e42b64f9895b8b1e10a0ef543aedd26353d19a8 Mon Sep 17 00:00:00 2001 From: Matheus Melo Date: Tue, 10 Dec 2024 12:21:43 -0300 Subject: [PATCH 1/3] ci: change sonar cloud default branch --- .github/workflows/ci.yaml | 1 - index.js | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e2df696..8918820 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,7 +1,6 @@ name: ci-node-workflow on: pull_request: - types: [opened, synchronize, reopened] branches: - develop jobs: diff --git a/index.js b/index.js index 402c7de..3ae0ac6 100644 --- a/index.js +++ b/index.js @@ -21,15 +21,19 @@ function potencia(a, b) { function dobra(a) { return a * 2; } + function triplica(a) { return a * 3; } + function adiciona100(a) { return a + 100; } + function adiciona200(a) { return a + 200; } + function adiciona300(a) { return a + 300; } From 0aa4aac9136e3b4eedc5288f37fd7ab3487a3477 Mon Sep 17 00:00:00 2001 From: Matheus Melo Date: Tue, 10 Dec 2024 12:28:49 -0300 Subject: [PATCH 2/3] chore: tmp commmit --- index.js | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/index.js b/index.js index 3ae0ac6..bb4ed6f 100644 --- a/index.js +++ b/index.js @@ -18,33 +18,10 @@ function potencia(a, b) { return Math.pow(a, b); } -function dobra(a) { - return a * 2; -} - -function triplica(a) { - return a * 3; -} - -function adiciona100(a) { - return a + 100; -} - -function adiciona200(a) { - return a + 200; -} - -function adiciona300(a) { - return a + 300; -} - module.exports = { soma, multiplicacao, subtracao, potencia, divisao, - dobra, - triplica, - adiciona100, }; From fba4a403e26332f88437a0b7d926af8395ab84e0 Mon Sep 17 00:00:00 2001 From: Matheus Melo Date: Tue, 10 Dec 2024 12:30:00 -0300 Subject: [PATCH 3/3] chore: commit to test quality gate --- index.js | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/index.js b/index.js index bb4ed6f..203477e 100644 --- a/index.js +++ b/index.js @@ -18,6 +18,26 @@ function potencia(a, b) { return Math.pow(a, b); } +function dobra(a) { + return a * 2; +} + +function triplica(a) { + return a * 3; +} + +function adiciona100(a) { + return a + 100; +} + +function adiciona200(a) { + return a + 200; +} + +function adiciona300(a) { + return a + 300; +} + module.exports = { soma, multiplicacao,