add actions for PRs

Signed-off-by: Manabu McCloskey <manabu.mccloskey@gmail.com>
This commit is contained in:
Manabu McCloskey 2024-07-18 09:20:58 -07:00
parent d328b6986b
commit baaed6a808

19
.github/workflows/pr.yaml vendored Normal file
View file

@ -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