From 3ef589900cbb572d7c920c0870a41a1fc9d758f1 Mon Sep 17 00:00:00 2001 From: "J. Yi" <93548144+jyyi1@users.noreply.github.com> Date: Thu, 28 Jul 2022 18:47:03 -0400 Subject: [PATCH] build: add pull request check action to replace travis --- .github/workflows/pull_request_checks.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/pull_request_checks.yml diff --git a/.github/workflows/pull_request_checks.yml b/.github/workflows/pull_request_checks.yml new file mode 100644 index 0000000..597caf2 --- /dev/null +++ b/.github/workflows/pull_request_checks.yml @@ -0,0 +1,20 @@ +name: Pull Request Checks + +on: + pull_request: + branches: [master] + types: [opened, synchronize, reopened] + +jobs: + unit_test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Install Node + uses: actions/setup-node@v3 + with: + node-version: 16 + cache: 'yarn' + - run: yarn + - run: yarn run build + - run: yarn run test