Skip to content

pipeline to run unit tests #1

pipeline to run unit tests

pipeline to run unit tests #1

Workflow file for this run

name: Unit Tests
on:
push:
branches: [main]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20.16.0
- name: Set up Yarn
run: npm install -g yarn@1.22.22
- name: Install dependencies
run: yarn install
- name: Run tests
run: npm run tests