Skip to content

Merge branch 'release' #108

Merge branch 'release'

Merge branch 'release' #108

Workflow file for this run

# Este workflow realiza el build de la aplicación y corre todos los tests.
name: Build y test
on:
push:
branches: [master, release]
pull_request:
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Get yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v1
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Instalar dependencias
run: yarn install --frozen-lockfile
- name: Verificar formato
run: yarn run prettier -c .
- name: Build
run: yarn run build
- name: Test
run: yarn run test --watchAll=false