Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

alokai-rebranding

alokai-rebranding #59

Workflow file for this run

name: Run tests
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
prepare_dependencies:
name: Prepare dependencies
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: '12'
- name: Get cached dependencies
uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
- name: Install dependencies
run: yarn --network-concurrency 1 --frozen-lockfile
build_and_test:
name: Build and test
needs: prepare_dependencies
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: '12'
- name: Get cached dependencies
uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
- name: Run build
run: yarn build
- name: Run tests
run: yarn test