2021-04-30 00:48:33 -07:00
|
|
|
name: Pull Request
|
|
|
|
|
|
|
|
on: pull_request
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
with:
|
|
|
|
submodules: true
|
2021-12-27 07:11:05 -08:00
|
|
|
- uses: reviewdog/action-languagetool@v1
|
|
|
|
with:
|
|
|
|
github_token: ${{ secrets.github_token }}
|
|
|
|
# Change reviewdog reporter if you need [github-pr-check,github-check,github-pr-review].
|
|
|
|
reporter: github-pr-review
|
|
|
|
# Change reporter level if you need.
|
2021-12-27 07:20:32 -08:00
|
|
|
level: error
|
2021-04-30 00:48:33 -07:00
|
|
|
- uses: actions/setup-node@v2-beta
|
|
|
|
with:
|
2021-05-26 19:20:21 -07:00
|
|
|
node-version: 16
|
2021-05-03 16:42:23 -07:00
|
|
|
- run: yarn install
|
|
|
|
- run: yarn run build
|
2021-12-27 07:11:05 -08:00
|
|
|
|