From d4f7c2b1fef55ed71749bd2b6c2fcb7b6919192d Mon Sep 17 00:00:00 2001 From: alxndrsn Date: Mon, 11 Sep 2023 07:30:46 +0000 Subject: [PATCH 1/3] A simple code change --- packages/node_modules/sublevel-pouchdb/src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/node_modules/sublevel-pouchdb/src/index.js b/packages/node_modules/sublevel-pouchdb/src/index.js index 67f8a2523e..5fd7e2a179 100644 --- a/packages/node_modules/sublevel-pouchdb/src/index.js +++ b/packages/node_modules/sublevel-pouchdb/src/index.js @@ -4,7 +4,7 @@ import Codec from 'level-codec'; import ReadStream from './readStream'; import precodec from './legacyCodec'; -var codec = new Codec(); +const codec = new Codec(); function sublevelPouch(db) { return shell(nut(db, precodec, codec), [], ReadStream, db.options); From 7bc0fb95e0ba85a25a8d776ac2ab7d66a8282380 Mon Sep 17 00:00:00 2001 From: alxndrsn Date: Mon, 11 Sep 2023 07:54:21 +0000 Subject: [PATCH 2/3] Add path restrictions to ci.yml --- .github/workflows/ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7637977f07..b415610673 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,9 +9,16 @@ name: PouchDB CI on: - push: {} + push: + paths: + - '**' + - '!docs/**' pull_request: branches: [master] + paths: + - '**' + - '!docs/**' + env: NODE_VERSION: 14 From 0480faba269e04b9d09442367771dd2d88c2aa2b Mon Sep 17 00:00:00 2001 From: alxndrsn Date: Mon, 11 Sep 2023 07:57:15 +0000 Subject: [PATCH 3/3] fix docs.yml --- .github/workflows/docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 3f7c68ec67..9643d52912 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -52,7 +52,7 @@ jobs: name: github-pages url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest - needs: build + needs: test-docs steps: - name: Deploy to GitHub Pages id: deployment