Files
is-a-dev/.github/workflows/checks.yml
T
2020-10-09 17:58:13 +05:30

28 lines
628 B
YAML

# https://github.com/actions/labeler
name: Checks
on: [pull_request_target]
jobs:
validation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
- name: Installing dependencies
uses: borales/actions-yarn@v2.0.0
with:
cmd: install
- name: Running tests
uses: borales/actions-yarn@v2.0.0
with:
cmd: test
label:
runs-on: ubuntu-latest
steps:
- name: Labelling pull request
uses: actions/labeler@main
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"