Skip to content

Commit

Permalink
Make tiptap-pro deps optional
Browse files Browse the repository at this point in the history
- This is to allow CI to skip them without failing on the install phase. This allows us to skip setting up CI with the correct key
- So far this is only used in prod, not in tests, thus is not needed for CI.
  • Loading branch information
poltak committed May 21, 2024
1 parent 9e4273b commit dd3e3f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ jobs:
node-version: 16
cache: 'yarn'

- run: yarn install --ignore-scripts
- run: yarn install --ignore-scripts --ignore-optional --non-interactive
- run: yarn test
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
"@josephg/resolvable": "^1.0.0",
"@popperjs/core": "^2.11.6",
"@sentry/node": "^6.14.3",
"@tiptap-pro/extension-mathematics": "^2.7.5",
"@tiptap/extension-code-block": "^2.2.4",
"@tiptap/extension-heading": "^2.2.4",
"@tiptap/extension-highlight": "^2.2.1",
Expand Down Expand Up @@ -172,6 +171,9 @@
"worker-loader": "^3.0.7",
"xhr-shim": "^0.1.2"
},
"optionalDependencies": {
"@tiptap-pro/extension-mathematics": "^2.7.5"
},
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/helper-validator-identifier": "^7.9.0",
Expand Down

0 comments on commit dd3e3f1

Please sign in to comment.