Skip to content

feat: centrifuge 1020 #2

feat: centrifuge 1020

feat: centrifuge 1020 #2

Workflow file for this run

name: Tests
on:
pull_request:
branches:
- master
jobs:
rust:
runs-on: ubuntu-latest
steps:
- name: πŸ›Ž Checkout
uses: actions/checkout@v2
- name: πŸ”§ Install rust dependancies
uses: ./.github/workflows/rust-install
- name: βš™ Run backend tests
run: make tests
frontend:
runs-on: ubuntu-latest
steps:
- name: πŸ›Ž Checkout
uses: actions/checkout@v2
- name: πŸ”§ Install yarn
run: npm install -g yarn
- name: Get yarn cache path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: ⚑ NPM Cache
uses: actions/cache@v2
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
- name: πŸ”§ Install dependancies
run: yarn