add actions for PRs (#26)
Signed-off-by: Manabu McCloskey <manabu.mccloskey@gmail.com>
This commit is contained in:
parent
d328b6986b
commit
2361b299f2
1 changed files with 19 additions and 0 deletions
19
.github/workflows/pr.yaml
vendored
Normal file
19
.github/workflows/pr.yaml
vendored
Normal 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
|
Loading…
Reference in a new issue