Skip to content

Merge branch 'main' of https://github.com/sujal-goswami/YT-Backend #12

Merge branch 'main' of https://github.com/sujal-goswami/YT-Backend

Merge branch 'main' of https://github.com/sujal-goswami/YT-Backend #12

Workflow file for this run

name: Build and Test
on:
push:
branches:
- main
paths-ignore:
- 'docs/**'
- '*.md'
pull_request:
branches:
- main
paths-ignore:
- 'docs/**'
- '*.md'
jobs:
build-test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build --if-present
- name: Run tests
run: npm run test