diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 728f341..6a9dc11 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,7 +5,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [12, 14, 16] + node-version: [14, 16] steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 diff --git a/package.json b/package.json index 80d42b8..347813e 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "eslint-plugin-prettier": "^4.0.0", "eslint-plugin-promise": "^5.1.0", "eslint-plugin-standard": "^5.0.0", - "fastify": "^3.6.0", + "fastify": "^4.0.3", "husky": "^7.0.1", "lint-staged": "^12.0.2", "prettier": "^2.1.2", @@ -59,6 +59,6 @@ }, "dependencies": { "@google-cloud/secret-manager": "^3.2.0", - "fastify-secrets-core": "^1.0.1" + "fastify-secrets-core": "^2.0.0" } } diff --git a/test/integration.test.js b/test/integration.test.js index b00c8fa..b9d239b 100644 --- a/test/integration.test.js +++ b/test/integration.test.js @@ -57,7 +57,7 @@ test('integration', async (t) => { await fastify.ready() - t.same( + t.has( fastify.secrets, { test: SECRET_CONTENT