Skip to content

Merge pull request #6 from rahu619/feature/cron-description #24

Merge pull request #6 from rahu619/feature/cron-description

Merge pull request #6 from rahu619/feature/cron-description #24

Workflow file for this run

name: Build
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
name: Build and Test
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Clean Install Dependencies
run: npm ci
- name: Run Tests
run: npm test
- name: Linting
run: npm run lint
- name: Run build
run: npm run build --if-present