Skip to content

Commit

Permalink
ci: add plugin commands
Browse files Browse the repository at this point in the history
  • Loading branch information
KiwiKilian committed Nov 24, 2024
1 parent b2e6362 commit dc15942
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ jobs:
- name: Lint with ESLint
run: yarn lint:eslint

- name: Lint Plugin with ESLint
run: yarn plugin:lint:eslint

lint-tsc:
name: Lint TSC
runs-on: ubuntu-latest
Expand All @@ -38,6 +41,9 @@ jobs:
- name: Lint with TSC
run: yarn lint:tsc

- name: Lint Plugin with TSC
run: yarn plugin:lint:tsc

test:
name: Test
runs-on: ubuntu-latest
Expand All @@ -51,6 +57,9 @@ jobs:
- name: Test with Jest
run: yarn test

- name: Test Plugin with Jest
run: yarn plugin:test

codegen:
name: Codegen
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
"lint:tsc": "tsc --project . --noEmit && tsc --project ./packages/examples",
"plugin:build": "tsc --build plugin",
"plugin:lint": "eslint plugin/src/*",
"plugin:lint:eslint": "eslint plugin/src/*",
"plugin:lint:tsc": "tsc --project ./plugin --noEmit",
"plugin:test": "jest plugin",
"prepack": "yarn plugin:build"
},
Expand Down

0 comments on commit dc15942

Please sign in to comment.