Skip to content

Commit 5302340

Browse files
committed
Created a basic github workflow to run the tests.
1 parent 1807873 commit 5302340

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/test-e2e.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
2+
name: E2E Tests
3+
4+
on:
5+
push:
6+
7+
env:
8+
CN_API_KEY: ${{ secrets.CN_API_KEY }}
9+
10+
jobs:
11+
test:
12+
runs-on: macos-latest
13+
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@v4
16+
17+
- name: Set up Node.js
18+
uses: actions/setup-node@v4
19+
with:
20+
node-version: "22"
21+
22+
- name: Install dependencies
23+
run: pnpm install
24+
25+
- name: Install dependencies
26+
run: pnpm install
27+
working-directory: e2e
28+
29+
- name: Run integration tests
30+
run: pnpm test
31+
working-directory: e2e

0 commit comments

Comments
 (0)