From 2361b299f2291f55062fde61afd06dbf9542fbef Mon Sep 17 00:00:00 2001 From: Manabu McCloskey Date: Thu, 18 Jul 2024 11:21:42 -0700 Subject: [PATCH] add actions for PRs (#26) Signed-off-by: Manabu McCloskey --- .github/workflows/pr.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/pr.yaml diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml new file mode 100644 index 0000000..f63e64e --- /dev/null +++ b/.github/workflows/pr.yaml @@ -0,0 +1,19 @@ +name: PR + +on: + pull_request: + types: [opened, ready_for_review, synchronize] + +jobs: + build: + runs-on: ubuntu-22.04 + steps: + - name: Checkout repository + uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 18 + - name: Run tests + run: | + yarn install --frozen-lockfile --network-timeout 600000 + yarn tsc