Update .gitea/workflows/deploy.yml
This commit is contained in:
@@ -6,11 +6,11 @@ on:
|
|||||||
- dev
|
- dev
|
||||||
|
|
||||||
env:
|
env:
|
||||||
MONGODB_CLUSTER_ADDRESS: 127.0.0.1
|
MONGODB_CLUSTER_ADDRESS: coursow-de.bwnpjvo.mongodb.net
|
||||||
MONGODB_USERNAME: mongo
|
MONGODB_USERNAME: mongo
|
||||||
MONGODB_PASSWORD: mongo
|
MONGODB_PASSWORD: mongotest
|
||||||
MONGODB_DB_NAME: mongo
|
MONGODB_DB_NAME: actions-environment
|
||||||
PORT: 3216
|
WEB_PORT: 8080
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
@@ -39,7 +39,7 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
- name: Run server
|
- name: Run server
|
||||||
run: npm start & npx wait-on http://127.0.0.1:$PORT
|
run: npm start & npx wait-on http://127.0.0.1:$WEB_PORT
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: npm test
|
run: npm test
|
||||||
- name: Output information
|
- name: Output information
|
||||||
|
|||||||
Reference in New Issue
Block a user