Skip to content

Workflow file for this run

name: unit-test
on: [push]
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