mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-05-19 17:28:48 +00:00
27 lines
651 B
YAML
27 lines
651 B
YAML
name: Checks
|
|
on: [pull_request_target]
|
|
|
|
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 }}"
|