From 0742e3415caa01102df0b9d964c6ee606132c1fc Mon Sep 17 00:00:00 2001 From: Anoop M D Date: Tue, 17 Jan 2023 19:35:59 +0530 Subject: [PATCH] feat: github workflow for running unit tests --- .github/workflows/unit-tests.yml | 19 +++++++++++++++++++ 1 file changed, 19 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 00000000..1cf3ed93 --- /dev/null +++ b/.github/workflows/unit-tests.yml @@ -0,0 +1,19 @@ +name: Unit Tests +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] +jobs: + test: + timeout-minutes: 60 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 16 + - name: Install dependencies + run: npm i --legacy-peer-deps + - name: Test Package bruno-lang + run: npm run test --workspace=packages/bruno-lang