Skip to content

Commit

Permalink
chore(ci-cd): add ci tests
Browse files Browse the repository at this point in the history
test will be executed on all prs

GH-228
  • Loading branch information
yeshamavani committed May 14, 2024
1 parent 6251a29 commit c43a061
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CI

on:
push:
branches: [master]
pull_request:
branches: [master]

# This workflow contains a single job called "npm_test"
jobs:
npm_test:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18.x'

- name: Install Dependencies 📌
run: npm ci

- name: Run Test Cases 🔧
run: npm run test

0 comments on commit c43a061

Please sign in to comment.