Skip to content
This repository was archived by the owner on Dec 8, 2022. It is now read-only.
30 changes: 30 additions & 0 deletions .github/workflows/test-and-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Automated Lint and Test

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: server

steps:
- uses: actions/checkout@v1
- uses: actions/cache@v2
with:
path: server/node_modules
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}

- name: Install packages
run: yarn install

- name: Run Tests
run: yarn test
1 change: 0 additions & 1 deletion .yarnrc.yml

This file was deleted.