mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-05-17 10:59:10 +00:00
29 lines
672 B
YAML
29 lines
672 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.event.pull_request.head.sha }}
|
|
fetch-depth: 0
|
|
- 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 }}"
|