Skip to content

Commit 571a9d1

Browse files
committed
Updated the test and deploymeny workflow settings
1 parent 1214546 commit 571a9d1

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/Vercel Deployment.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,19 @@ on:
33
pull_request:
44
branches:
55
- master
6+
- dev
67
push:
78
branches:
89
- master
10+
- dev
911
jobs:
1012
test:
1113
runs-on: ubuntu-latest
1214
steps:
1315
- uses: actions/checkout@v2
1416
- uses: actions/setup-node@v2
1517
with:
16-
node-version: '16.x'
18+
node-version: '18.x'
1719
- run: yarn install
1820
- run: yarn run test
1921
env:

test/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const request = require('supertest')
2-
const app = require('../app')
2+
const app = require('../api/app')
33

44
describe('testing the code rating engine APIs', () => {
55
let token = ''

0 commit comments

Comments
 (0)