mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-05-17 14:59:34 +00:00
24 lines
578 B
YAML
24 lines
578 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: Setup node v15
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: '15'
|
|
- name: Install dependencies
|
|
uses: borales/actions-yarn@v2.0.0
|
|
with:
|
|
cmd: install --ignore-engines --frozen-lockfile
|
|
- name: Run tests
|
|
uses: borales/actions-yarn@v2.0.0
|
|
with:
|
|
cmd: test
|