Skip to content

Commit

Permalink
ci: Add test ci for server codes testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayobami6 committed Oct 7, 2023
1 parent 7e93276 commit 84214ea
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/testCI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Run Test

on:
push:
branches: ["staging", "main"]
pull_request:
branches: ["staging", "main"]


jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout codes
uses: actions/checkout@v2

- name: Set up Nodejs
uses: actions/setup-node@v2
with:
node-version: 18

- name: Install root Dependencies
run: npm install

- name: Install all server dependencies
run: npm install:all

- name: Run Server test
run: npm run test:server


0 comments on commit 84214ea

Please sign in to comment.