Skip to content

Create main.yaml

Create main.yaml #1

Workflow file for this run

name: CICD
on:
push:
branches: [main,master]
jobs:
build:
runs-on: [ubuntu-latest]
steps:
- name: Checkout Source
uses: actions/checkout@v3
- name: Set Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: Install Dependencies
run : npm install
- name: Test Project
run: npm test