Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit 4087970

Browse files
committed
feat(jest.yml): add jest github actions
1 parent e366ee9 commit 4087970

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/jest.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Jest Tests
2+
on:
3+
push:
4+
branches: [main, master]
5+
pull_request:
6+
branches: [main, master]
7+
jobs:
8+
test:
9+
timeout-minutes: 60
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-node@v4
14+
with:
15+
node-version: lts/*
16+
- name: Install dependencies
17+
run: npm install -g pnpm && pnpm install
18+
- name: Install dependencies for e2e/site
19+
run: |
20+
cd e2e/site
21+
npm install
22+
- name: Run Jest tests
23+
run: pnpm exec jest --ci --reporters=github-actions --reporters=summary

0 commit comments

Comments
 (0)