Skip to content

Commit a542a2d

Browse files
committed
chore: remove DB from test setup, upgrade uuid library
1 parent 85d87e4 commit a542a2d

3 files changed

Lines changed: 2 additions & 14 deletions

File tree

.github/workflows/test.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,6 @@ on:
55
types: [published]
66
jobs:
77
tests:
8-
services:
9-
db:
10-
image: postgres:15
11-
ports: ["5432:5432"]
12-
env:
13-
POSTGRES_PASSWORD: postgres
14-
options: >-
15-
--health-cmd pg_isready
16-
--health-interval 10s
17-
--health-timeout 5s
18-
--health-retries 5
19-
208
runs-on: ubuntu-22.04
219
name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
2210
env:

test/js/keyed-functions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const uuid = require('uuid/v4')
1+
const { v4: uuid } = require('uuid');
22

33
function hello(name) {
44
return `Hello, ${name}!`

test/js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
"author": "",
1010
"license": "ISC",
1111
"dependencies": {
12-
"uuid": "^3.3.2"
12+
"uuid": "^9.0.1"
1313
}
1414
}

0 commit comments

Comments
 (0)