From 7e932210077b360b5807c4a70155c324392a7170 Mon Sep 17 00:00:00 2001 From: Daniel Prates Date: Fri, 31 Mar 2023 23:23:08 -0300 Subject: [PATCH] build(action): add quality gate on pull request --- .github/workflows/quality-gate.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/quality-gate.yaml diff --git a/.github/workflows/quality-gate.yaml b/.github/workflows/quality-gate.yaml new file mode 100644 index 0000000..48043d5 --- /dev/null +++ b/.github/workflows/quality-gate.yaml @@ -0,0 +1,14 @@ +name: Quality Gate + +on: + pull_request: + +jobs: + quality-gate: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 16 + - run: npm test