Skip to content

Commit d7d2640

Browse files
committed
AG-48918 build before test in gh workflow
Squashed commit of the following: commit 0d8e344 Author: slvvko <v.leleka@adguard.com> Date: Fri Nov 28 02:20:44 2025 -0500 build before test in gh workflow
1 parent 1b5476a commit d7d2640

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,17 @@ jobs:
4747
node-version: ${{ env.NODE_VERSION }}
4848
registry-url: https://registry.npmjs.org
4949
cache: pnpm
50-
50+
5151
- name: Install dependencies
5252
run: pnpm install
5353

5454
- name: Run ESLint
5555
run: pnpm lint
5656

57+
# building is needed for tests (bundle test depends on it)
58+
- name: Build package
59+
run: pnpm build
60+
5761
- name: Run tests
5862
run: pnpm test
5963

.github/workflows/test.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ jobs:
3131
- name: pnpm lint
3232
run: pnpm lint
3333

34+
# building is needed for tests (bundle test depends on it)
35+
- name: Build package
36+
run: pnpm build
37+
3438
- name: pnpm test
3539
run: pnpm test
3640

0 commit comments

Comments
 (0)