Skip to content

Commit

Permalink
build: add pull request check action to replace travis
Browse files Browse the repository at this point in the history
  • Loading branch information
jyyi1 committed Jul 29, 2022
1 parent add590e commit 3ef5899
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/pull_request_checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Pull Request Checks

on:
pull_request:
branches: [master]
types: [opened, synchronize, reopened]

jobs:
unit_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 16
cache: 'yarn'
- run: yarn
- run: yarn run build
- run: yarn run test

0 comments on commit 3ef5899

Please sign in to comment.