-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix collab manager tests and add ci (#83)
* fix tests * use new method in the model * add ci for collab manager * lint fixes * revert * feat(collab-manager): add reference to model in tsconfig.build.json * chore: fix build script in collaboration-manager package.json * install and build model * fix --------- Co-authored-by: George Berezhnoy <[email protected]>
- Loading branch information
1 parent
312b636
commit 929d996
Showing
5 changed files
with
84 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: Collaboration manager check | ||
on: | ||
pull_request: | ||
merge_group: | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Run ESLint check | ||
uses: ./.github/actions/lint | ||
with: | ||
package-name: '@editorjs/collaboration-manager' | ||
|
||
tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- run: yarn | ||
|
||
- name: Build the package | ||
uses: ./.github/actions/build | ||
with: | ||
package-name: '@editorjs/model' | ||
|
||
- name: Run unit tests | ||
uses: ./.github/actions/unit-tests | ||
with: | ||
package-name: '@editorjs/collaboration-manager' | ||
working-directory: './packages/collaboration-manager' | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Build the package | ||
uses: ./.github/actions/build | ||
with: | ||
package-name: '@editorjs/collaboration-manager' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,5 +9,10 @@ | |
], | ||
"exclude": [ | ||
"src/**/*.spec.ts" | ||
], | ||
"references": [ | ||
{ | ||
"path": "../model/tsconfig.build.json" | ||
} | ||
] | ||
} |
929d996
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coverage report for
./packages/model
Test suite run success
389 tests passing in 24 suites.
Report generated by 🧪jest coverage report action from 929d996
929d996
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coverage report for
./packages/collaboration-manager
Test suite run success
6 tests passing in 1 suite.
Report generated by 🧪jest coverage report action from 929d996