add actions for PRs (#26)

Signed-off-by: Manabu McCloskey <manabu.mccloskey@gmail.com>
This commit is contained in:
Manabu McCloskey 2024-07-18 11:21:42 -07:00 committed by GitHub
parent d328b6986b
commit 2361b299f2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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