-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
api: add Vercel KV cache for storing market data (#1654)
* api: add Vercel KV cache for storing market data * ci: update github actions * api: increase market_data api timeout to 10 seconds * api: increase market_data api timeout to 10 seconds * api: add Vercel KV cache for storing market data * api: add Vercel KV cache for storing market data * api: add Vercel KV cache for storing market data - fix typo * api: add Vercel KV cache for storing market data - fix typo
- Loading branch information
Showing
6 changed files
with
112 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,21 @@ | ||
name: Setup | ||
description: Sets up a Node.js environment, installs the dependencies using Yarn, | ||
description: Sets up a Node.js environment, installs the dependencies using Yarn, | ||
and caches the installed dependencies for faster future builds. | ||
runs: | ||
using: composite | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 16 | ||
node-version: 18 | ||
registry-url: https://registry.npmjs.org | ||
cache: yarn | ||
|
||
- uses: actions/cache@v3 | ||
- uses: actions/cache@v4 | ||
id: install-cache | ||
with: | ||
path: node_modules/ | ||
key: ${{ runner.os }}-install-${{ hashFiles('**/yarn.lock') }} | ||
|
||
- if: steps.install-cache.outputs.cache-hit != 'true' | ||
run: yarn install --frozen-lockfile --ignore-scripts --ignore-engines | ||
shell: bash | ||
shell: bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters