From dd26f5a2477355d7bb179496bfd3027e7b1021be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20M=C3=BCller?= Date: Fri, 29 Nov 2024 15:00:18 -0800 Subject: [PATCH] node 21.x is not supported yet https://github.com/airbnb/lottie-web/issues/3047 --- .github/workflows/deploy.yml | 10 +++++----- .github/workflows/scrape.yml | 8 ++++---- package-lock.json | 2 +- package.json | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 929b86e..1db4aa6 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -19,7 +19,7 @@ jobs: - uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 20 cache: npm - name: Install dependencies @@ -33,15 +33,15 @@ jobs: with: # The secret containing your Typesense API key. Required. api-key: ${{ env.TYPESENSE_ADMIN_API_KEY }} - + # The hostname or IP address of your Typesense server. Required. host: ${{ env.TYPESENSE_NODE }} - + # The port on which your Typesense server is listening. Optional. Default: 8108. port: 443 - + # The protocol to use when connecting to your Typesense server. Optional. Default: http. protocol: https - + # The path to your DocSearch config file. Optional. Default: docsearch.config.json. config: docsearch.config.json diff --git a/.github/workflows/scrape.yml b/.github/workflows/scrape.yml index b32b6a8..62fdc46 100644 --- a/.github/workflows/scrape.yml +++ b/.github/workflows/scrape.yml @@ -19,15 +19,15 @@ jobs: with: # The secret containing your Typesense API key. Required. api-key: ${{ env.TYPESENSE_ADMIN_API_KEY }} - + # The hostname or IP address of your Typesense server. Required. host: ${{ env.TYPESENSE_NODE }} - + # The port on which your Typesense server is listening. Optional. Default: 8108. port: 443 - + # The protocol to use when connecting to your Typesense server. Optional. Default: http. protocol: https - + # The path to your DocSearch config file. Optional. Default: docsearch.config.json. config: docsearch.config.json diff --git a/package-lock.json b/package-lock.json index 20e4081..e371e6c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -30,7 +30,7 @@ "typescript": "*" }, "engines": { - "node": ">=16.14" + "node": "20.x" } }, "node_modules/@algolia/autocomplete-core": { diff --git a/package.json b/package.json index 8274c29..7eba58b 100644 --- a/package.json +++ b/package.json @@ -48,6 +48,6 @@ ] }, "engines": { - "node": ">=16.14" + "node": "20.x" } }