Skip to content

Add tests scaffold, linting and GitHub workflow #3

Add tests scaffold, linting and GitHub workflow

Add tests scaffold, linting and GitHub workflow #3

Workflow file for this run

name: Reboot.dev Node.js Template
on: [push]
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Lint sources
uses: actions/setup-node@v4
with:
node-version: '18.x'
cache: 'npm'
- run: npm ci
- run: npm run lint
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run all tests
uses: actions/setup-node@v4
with:
node-version: '18.x'
cache: 'npm'
- run: npm ci
- run: npm run test