http-repository-cache
Version:
A library for making HTTP requests using the repository pattern with an built in caching system.
25 lines • 615 B
YAML
on:
workflow_call:
jobs:
unit-tests:
strategy:
matrix:
node-version: ['18.x', '23.x']
name: Unit Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 9
run_install: false
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Run tests
run: pnpm test