adds github ci workflow #9
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: unit-test | |
on: [push] | |
jobs: | |
unitTests: | |
name: 'unit tests' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
- name: Install Yarn | |
run: npm install -g yarn | |
- name: Install node_modules with Yarn | |
run: yarn install | |
- name: run unit tests | |
run: yarn test:ci |