From a542a2dec0792b56be5140b3f3aefa7d2e46d1aa Mon Sep 17 00:00:00 2001 From: Jason Pollentier Date: Wed, 15 May 2024 17:01:22 -0500 Subject: [PATCH] chore: remove DB from test setup, upgrade uuid library --- .github/workflows/test.yml | 12 ------------ test/js/keyed-functions.js | 2 +- test/js/package.json | 2 +- 3 files changed, 2 insertions(+), 14 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index be49831..ecdb27d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,18 +5,6 @@ on: types: [published] jobs: tests: - services: - db: - image: postgres:15 - ports: ["5432:5432"] - env: - POSTGRES_PASSWORD: postgres - options: >- - --health-cmd pg_isready - --health-interval 10s - --health-timeout 5s - --health-retries 5 - runs-on: ubuntu-22.04 name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}} env: diff --git a/test/js/keyed-functions.js b/test/js/keyed-functions.js index 6672ded..e9d83a6 100644 --- a/test/js/keyed-functions.js +++ b/test/js/keyed-functions.js @@ -1,4 +1,4 @@ -const uuid = require('uuid/v4') +const { v4: uuid } = require('uuid'); function hello(name) { return `Hello, ${name}!` diff --git a/test/js/package.json b/test/js/package.json index fb1cbe0..90ad4c6 100644 --- a/test/js/package.json +++ b/test/js/package.json @@ -9,6 +9,6 @@ "author": "", "license": "ISC", "dependencies": { - "uuid": "^3.3.2" + "uuid": "^9.0.1" } }