Skip to content

Commit 7782253

Browse files
committed
Split e2e and unit tests to separate jobs
1 parent 48fb8a9 commit 7782253

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.github/workflows/check.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Validate code snippets
2727
run: pnpm validate:snippets
2828

29-
test:
29+
unit-test:
3030
runs-on: ubuntu-latest
3131
steps:
3232
- uses: actions/checkout@v4
@@ -43,6 +43,20 @@ jobs:
4343
- name: Run unit tests
4444
run: pnpm test:unit
4545

46+
e2e:
47+
runs-on: ubuntu-latest
48+
steps:
49+
- uses: actions/checkout@v4
50+
51+
- uses: the-guild-org/shared-config/setup@main
52+
name: setup env
53+
with:
54+
packageManager: pnpm
55+
workingDirectory: ./
56+
57+
- name: Install Dependencies
58+
run: pnpm i
59+
4660
# per the docs: "caching browser binaries is not recommended,
4761
# since the amount of time it takes to restore the cache is
4862
# comparable to the time it takes to download the binaries"

0 commit comments

Comments
 (0)