Skip to content

Commit 8cc3868

Browse files
Update ubuntu version (#447) (#449)
* Update ubuntu version * Bump version up to 1.1.2 * Fix jest tests --------- Co-authored-by: Tatiana Fomina <[email protected]> Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 534f6c8 commit 8cc3868

File tree

7 files changed

+9
-8
lines changed

7 files changed

+9
-8
lines changed

.env.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
PORT=4000
33

44
# Hawk API database URL
5-
MONGO_HAWK_DB_URL=mongodb://localhost:55011/hawk
5+
MONGO_HAWK_DB_URL=mongodb://127.0.0.1:55011/hawk
66

77
# Events database URL
8-
MONGO_EVENTS_DB_URL=mongodb://localhost:55011/hawk_events
8+
MONGO_EVENTS_DB_URL=mongodb://127.0.0.1:55011/hawk_events
99

1010
# MongoDB settings
1111
MONGO_RECONNECT_TRIES=60

.github/workflows/bump-version.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on: [pull_request]
55
jobs:
66
# If pull request was merged then we should check for a package version update
77
check-version-update:
8-
runs-on: ubuntu-latest
8+
runs-on: ubuntu-20.04
99
steps:
1010
# Checkout to target branch
1111
- uses: actions/checkout@v2
@@ -33,7 +33,7 @@ jobs:
3333

3434
bump-version:
3535
needs: check-version-update
36-
runs-on: ubuntu-latest
36+
runs-on: ubuntu-20.04
3737
steps:
3838
# Checkout to target branch
3939
- uses: actions/checkout@v2

.github/workflows/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on: [pull_request]
55
jobs:
66
lint:
77
name: ESlint
8-
runs-on: ubuntu-latest
8+
runs-on: ubuntu-20.04
99
steps:
1010
- uses: actions/checkout@v2
1111
- name: Use Node.js

.github/workflows/pr-to-prod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
1111
update-from-master:
1212
if: github.event.pull_request.merged == true
13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-20.04
1414
steps:
1515
- uses: actions/checkout@v2
1616

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
jobs:
77
build:
88
name: Run Jest tests
9-
runs-on: ubuntu-latest
9+
runs-on: ubuntu-20.04
1010
steps:
1111
- uses: actions/checkout@v2
1212
- name: Install modules

jest.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
*/
55

66
module.exports = {
7+
testTimeout: 30000,
78
/**
89
* The test environment that will be used for testing
910
*/

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hawk.api",
3-
"version": "1.1.1",
3+
"version": "1.1.2",
44
"main": "index.ts",
55
"license": "UNLICENSED",
66
"scripts": {

0 commit comments

Comments
 (0)