Skip to content

Merge pull request #2 from CNSeniorious000/main #8

Merge pull request #2 from CNSeniorious000/main

Merge pull request #2 from CNSeniorious000/main #8

Workflow file for this run

name: Test
on: [push]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
steps:
- uses: actions/checkout@v4
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run Linter
run: npm run lint
- name: Run Tests
run: npm run test
- name: Run Prettier
run: npm run prettier