Files
is-a-dev/.github/workflows/checks.yml
T
2020-12-02 19:11:50 +05:30

27 lines
651 B
YAML

name: Checks
on: [pull_request]
jobs:
validation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- name: Installing dependencies
uses: borales/actions-yarn@v2.0.0
with:
cmd: install --ignore-engines
- 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 }}"