Skip to content

Commit cc3b581

Browse files
Fix workflows
1 parent 1b9c9be commit cc3b581

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

.github/workflows/e2e-tests.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,7 @@ jobs:
2828
timeout 60 bash -c 'until docker compose ps | grep -q "healthy"; do sleep 2; done'
2929
3030
- name: Build packages
31-
run: |
32-
pnpm --filter @tanstack/db-ivm build
33-
pnpm --filter @tanstack/db build
34-
pnpm --filter @tanstack/electric-db-collection build
35-
pnpm --filter @tanstack/query-db-collection build
31+
run: pnpm run build:all
3632

3733
- name: Run Electric E2E tests
3834
run: |

.github/workflows/pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ jobs:
5454
repo-token: '${{ secrets.GITHUB_TOKEN }}'
5555
pattern: './packages/db/dist/**/*.{js,mjs}'
5656
comment-key: 'db-package-size'
57-
build-script: 'build:minified'
57+
build-script: 'build'
5858
- name: Compressed Size Action - React DB Package
5959
uses: preactjs/compressed-size-action@v2
6060
with:
6161
repo-token: '${{ secrets.GITHUB_TOKEN }}'
6262
pattern: './packages/react-db/dist/**/*.{js,mjs}'
6363
comment-key: 'react-db-package-size'
64-
build-script: 'build:minified'
64+
build-script: 'build'

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"scripts": {
1111
"clean": "pnpm --filter \"./packages/**\" run clean",
1212
"test": "pnpm run test:ci",
13-
"test:pr": "nx affected --targets=test:docs,test:eslint,test:lib,test:types,build",
14-
"test:ci": "nx run-many --targets=test:docs,test:eslint,test:lib,test:types,build",
13+
"test:pr": "nx affected --targets=test:docs,test:eslint,test:lib,build",
14+
"test:ci": "nx run-many --targets=test:docs,test:eslint,test:lib,build",
1515
"test:eslint": "nx affected --target=test:eslint",
1616
"test:lib": "nx affected --target=test:lib --exclude=examples/**",
1717
"test:types": "nx affected --target=test:types --exclude=examples/**",

0 commit comments

Comments
 (0)