Skip to content

Commit

Permalink
Merge pull request #177 from onflow/bastian/fix-node-21
Browse files Browse the repository at this point in the history
Node 21.x is not supported yet
  • Loading branch information
turbolent authored Nov 29, 2024
2 parents 04501d7 + dd26f5a commit e655695
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
cache: npm

- name: Install dependencies
Expand All @@ -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
8 changes: 4 additions & 4 deletions .github/workflows/scrape.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@
]
},
"engines": {
"node": ">=16.14"
"node": "20.x"
}
}

0 comments on commit e655695

Please sign in to comment.