chore: add pr workflow

This commit is contained in:
Mo
2022-06-27 17:04:39 -05:00
parent b11a9b0eac
commit 82da690139
+21
View File
@@ -0,0 +1,21 @@
name: Pull Request
on:
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install dependencies
run: yarn install
- name: ESLint
run: yarn lint
- name: Build
run: yarn build
- name: Test
run: yarn test