Skip to content

Improvements

Improvements #50

Workflow file for this run

name: PR
on: [pull_request]
jobs:
checks:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: 14.x
- uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: Install dependencies
run: yarn
- name: Build
run: yarn affected:build --base=origin/master
- name: Lint
run: yarn affected:lint --base=origin/master
# - name: Test
# run: yarn affected:test --base=master --head=HEAD