Skip to content

feat: adds unit tests #3

feat: adds unit tests

feat: adds unit tests #3

Workflow file for this run

name: unit-test
on: [pull_request]
jobs:
install:
name: 'install'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install node_modules
uses: OffchainLabs/actions/node-modules/install@main
unitTests:
name: 'unit tests'
runs-on: ubuntu-latest
needs: install
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Restore node_modules
uses: OffchainLabs/actions/node-modules/restore@main
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Start UI and Test
run: yarn test:ci