Skip to content

Commit

Permalink
trying a different way to filter
Browse files Browse the repository at this point in the history
  • Loading branch information
jhuleatt committed Jan 31, 2025
1 parent bae7d0a commit 007458f
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test_node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/package-lock.json') }}

- run: npm install
- run: npm run bootstrap -- --filter "./Node/**"
- run: npm run lint -- --filter "./Node/**"
- run: npm run compile -- --filter "./Node/**"
- run: npm run test -- --filter "./Node/**"
- run: npm run bootstrap-2nd-gen
- run: npm run lint-2nd-gen
- run: npm run compile-2nd-gen
- run: npm run test-2nd-gen
8 changes: 4 additions & 4 deletions .github/workflows/test_node_1st_gen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/package-lock.json') }}

- run: npm install
- run: npm run bootstrap -- --filter "./Node-1st-gen/**"
- run: npm run lint -- --filter "./Node-1st-gen/**"
- run: npm run compile -- --filter "./Node-1st-gen/**"
- run: npm run test -- --filter "./Node-1st-gen/**"
- run: npm run bootstrap-1st-gen
- run: npm run lint-1st-gen
- run: npm run compile-1st-gen
- run: npm run test-1st-gen
13 changes: 9 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,15 @@
"author": "Firebase (https://firebase.google.com/)",
"license": "Apache-2.0",
"scripts": {
"bootstrap": "pnpm -r install",
"lint": "pnpm -r --workspace-concurrency=4 --aggregate-output run lint",
"test": "pnpm -r --workspace-concurrency=4 --aggregate-output run test ",
"compile": "pnpm -r --workspace-concurrency=4 --aggregate-output run compile "
"bootstrap": "pnpm --recursive install",
"bootstrap-1st-gen": "pnpm --recursive --filter \"./Node-1st-gen/**\" install",
"bootstrap-2nd-gen": "pnpm --recursive --filter \"./Node/**\" install",
"lint-1st-gen": "pnpm --recursive --filter \"./Node-1st-gen/**\" run lint",
"lint-2nd-gen": "pnpm --recursive --filter \"./Node/**\" run lint",
"test-1st-gen": "pnpm --recursive --filter \"./Node-1st-gen/**\" run test ",
"test-2nd-gen": "pnpm --recursive --filter \"./Node/**\" run test ",
"compile-1st-gen": "pnpm --recursive --filter \"./Node-1st-gen/**\" run compile ",
"compile-2nd-gen": "pnpm --recursive --filter \"./Node/**\" run compile "
},
"devDependencies": {
"eslint": "^8.57.1",
Expand Down

0 comments on commit 007458f

Please sign in to comment.