From f5903d1b0cbd1258e120f463a5a9dce8a3b16ecf Mon Sep 17 00:00:00 2001 From: Bruno Henrique Date: Sun, 29 Dec 2024 23:38:26 -0300 Subject: [PATCH] adds `Automated Tests` Github Action --- .github/workflows/tests.yaml | 17 +++++++++++++++++ 1 file changed, 17 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..e30451b --- /dev/null +++ b/.github/workflows/tests.yaml @@ -0,0 +1,17 @@ +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: "lts/hydrogen" + + - run: npm ci + + - run: npm test