From a91d0db104e060b11afee0c3c1a08fbd89f88625 Mon Sep 17 00:00:00 2001 From: NovemLinguae <79697282+NovemLinguae@users.noreply.github.com> Date: Sat, 1 Jun 2024 23:22:53 -1000 Subject: [PATCH] create continuous integration (#40) automatically run npm test for each pull request and commit --- .github/workflows/unit_tests.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/unit_tests.yml diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml new file mode 100644 index 0000000..da234ad --- /dev/null +++ b/.github/workflows/unit_tests.yml @@ -0,0 +1,15 @@ +name: Unit Tests + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - run: npm ci + - run: npm test