Skip to content

feat(router): enhance Route class with improved docs and new features #36

feat(router): enhance Route class with improved docs and new features

feat(router): enhance Route class with improved docs and new features #36

name: Node.js - Core Tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x, 22.x]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Start Redis
uses: supercharge/redis-github-action@1.4.0
- name: Install modules
run: npm ci
- name: Build
run: npm run build
- name: Run tests
run: npm test