-
Notifications
You must be signed in to change notification settings - Fork 5k
45 lines (38 loc) · 1.28 KB
/
integrationTests.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Integration Tests
on:
push:
branches: ["*"]
pull_request:
branches: ["*"]
jobs:
integration-tests:
runs-on: ubuntu-latest
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '23.3'
- name: Cache pnpm
uses: actions/cache@v4
with:
path: |
~/.pnpm-store
**/node_modules
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: ${{ runner.os }}-pnpm-
- name: Setup pnpm
uses: pnpm/action-setup@v3
with:
version: 9.15.0
- name: Install dependencies
run: pnpm install --no-frozen-lockfile
- name: Build packages
run: pnpm build
- name: Run integration tests
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
COINBASE_COMMERCE_KEY: ${{ secrets.COINBASE_COMMERCE_KEY }}
run: pnpm run integrationTests