Skip to content

CI Automation | Build & Test Node App with github workflows #1

CI Automation | Build & Test Node App with github workflows

CI Automation | Build & Test Node App with github workflows #1

Workflow file for this run

on:
push:
branches:
- main
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 20
- name: install dependecies
run: npm ci
- name: Build and test
run: npm run build && npm test