From 68f4119cb0d09f50a52a12a7f9c3f6199a3504fe Mon Sep 17 00:00:00 2001 From: Sai Saran Vaidyanathan Date: Tue, 3 Oct 2023 14:24:01 -0700 Subject: [PATCH] fix: run test on PR --- .github/workflows/run-tests.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/run-tests.yml diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml new file mode 100644 index 00000000..596320e0 --- /dev/null +++ b/.github/workflows/run-tests.yml @@ -0,0 +1,18 @@ +# This workflow will run tests using node when a PR is submitted +# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages + +name: run-tests + +on: + pull_request: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 16 + - run: npm ci + - run: npm test \ No newline at end of file