From 82da690139644b20601ba276cb0e782a1f3f92c8 Mon Sep 17 00:00:00 2001 From: Mo Date: Mon, 27 Jun 2022 17:04:39 -0500 Subject: [PATCH] chore: add pr workflow --- .github/workflows/pr.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/pr.yml diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml new file mode 100644 index 000000000..4871ac9af --- /dev/null +++ b/.github/workflows/pr.yml @@ -0,0 +1,21 @@ +name: Pull Request + +on: + pull_request: + branches: + - main + +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v3 + - name: Install dependencies + run: yarn install + - name: ESLint + run: yarn lint + - name: Build + run: yarn build + - name: Test + run: yarn test