From ba602af68eb03fd5df63410b9ae262bb3508be93 Mon Sep 17 00:00:00 2001 From: Livio Alvarenga Date: Mon, 15 Jul 2024 11:25:41 -0300 Subject: [PATCH] adds Automated Tests Github Action --- .github/workflows/tests.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/tests.yaml diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml new file mode 100644 index 0000000..2059082 --- /dev/null +++ b/.github/workflows/tests.yaml @@ -0,0 +1,18 @@ +name: Automated Tests + +on: pull_request + +jobs: + jest: + name: Jest Ubuntu + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-node@v4 + with: + node-version: 'v20.14.0' + + - run: npm ci + + - run: npm test