Skip to content

Commit b86f43e

Browse files
committed
chore(ui-codemods): fix codemods test scripts
Closes: INSTUI-4373
1 parent 5f7eaeb commit b86f43e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/pr-validation.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ jobs:
3535
run: npm run bootstrap
3636
- name: Run vitest unit tests
3737
run: npm run test:vitest
38+
- name: Run codemods unit tests
39+
run: npm run test:codemods
3840
cypress:
3941
name: Cypress component tests
4042
runs-on: ubuntu-latest

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@
2020
"dev": "npm run start:watch",
2121
"test": "ui-scripts test --randomize",
2222
"cy:component": "cypress run --component",
23-
"test:vitest": "vitest --watch=false && npm run test:vitest --workspace=@instructure/ui-codemods",
23+
"test:vitest": "vitest --watch=false",
2424
"test:vitest-watch": "vitest",
25+
"test:codemods": "vitest --watch=false --root=packages/ui-codemods",
2526
"lint": "lerna run lint --stream",
2627
"lint:changes": "npm run lint -- --since HEAD^",
2728
"lint:fix": "lerna run lint:fix --stream",

0 commit comments

Comments
 (0)