mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-14 03:06:00 +08:00
feat(ci): caching improvements
This commit is contained in:
parent
0eff99007a
commit
e9cb8ac956
7
.github/workflows/test-js-sdk.yml
vendored
7
.github/workflows/test-js-sdk.yml
vendored
@ -20,11 +20,10 @@ jobs:
|
|||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: "20"
|
node-version: "20"
|
||||||
- name: Install pnpm
|
cache: "npm"
|
||||||
run: npm install -g pnpm
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: pnpm install
|
run: npm install
|
||||||
working-directory: ./apps/js-sdk/firecrawl
|
working-directory: ./apps/js-sdk/firecrawl
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: pnpm run test
|
run: npm run test
|
||||||
working-directory: ./apps/js-sdk/firecrawl
|
working-directory: ./apps/js-sdk/firecrawl
|
||||||
|
7
.github/workflows/test-server-self-host.yml
vendored
7
.github/workflows/test-server-self-host.yml
vendored
@ -19,12 +19,15 @@ jobs:
|
|||||||
- 6379:6379
|
- 6379:6379
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
- name: Install pnpm
|
||||||
|
uses: pnpm/action-setup@v4
|
||||||
|
with:
|
||||||
|
version: 10
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: "20"
|
node-version: "20"
|
||||||
- name: Install pnpm
|
cache: "pnpm"
|
||||||
run: npm install -g pnpm
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: pnpm install
|
run: pnpm install
|
||||||
working-directory: ./apps/api
|
working-directory: ./apps/api
|
||||||
|
7
.github/workflows/test-server.yml
vendored
7
.github/workflows/test-server.yml
vendored
@ -50,12 +50,15 @@ jobs:
|
|||||||
oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }}
|
oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }}
|
||||||
oauth-secret: ${{ secrets.TS_OAUTH_SECRET }}
|
oauth-secret: ${{ secrets.TS_OAUTH_SECRET }}
|
||||||
tags: tag:ci
|
tags: tag:ci
|
||||||
|
- name: Install pnpm
|
||||||
|
uses: pnpm/action-setup@v4
|
||||||
|
with:
|
||||||
|
version: 10
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: "20"
|
node-version: "20"
|
||||||
- name: Install pnpm
|
cache: "pnpm"
|
||||||
run: npm install -g pnpm
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: pnpm install
|
run: pnpm install
|
||||||
working-directory: ./apps/api
|
working-directory: ./apps/api
|
||||||
|
Loading…
x
Reference in New Issue
Block a user