Skip to content

feat: expose likes attribute #5

feat: expose likes attribute

feat: expose likes attribute #5

Workflow file for this run

name: Unit tests
on:
pull_request:
branches:
- main
paths:
- "!.github"
- "__tests__/**/*"
- "src/**/*"
jobs:
tests:
name: Automated Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: NPM - Load cached env
id: cached-npm-dependencies
uses: actions/cache@v4
with:
path: node_modules
key: npm-${{ runner.os }}-${{ hashFiles('**/package.json') }}
- name: NPM - Install dependencies
if: steps.cached-npm.dependencies.output.cache-hit != 'true'
run: 'npm install'
- name: Run tests
run: npm test