Skip to content

Add React Component Example To Docs #7

Add React Component Example To Docs

Add React Component Example To Docs #7

Workflow file for this run

name: Run Tests
on:
# Trigger the workflow on push or pull request,
# but only for the main branch
push:
branches:
- main
pull_request:
paths:
- 'src/**/*.js'
- 'test/**/*.js'
branches:
- main
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node 18.x
uses: actions/setup-node@v4
with:
node-version: '18.x'
cache: 'yarn'
- name: Install packages
run: yarn install
- name: Run Tests
run: yarn test