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