prevent build memory leak, build one package ofter the other
This commit is contained in:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -148,8 +148,6 @@ jobs:
|
||||
- name: Try to build the packages
|
||||
id: build-packages
|
||||
run: yarn build:ci
|
||||
env:
|
||||
NODE_OPTIONS: --max_old_space_size=8192
|
||||
|
||||
- name: Send Slack notifications
|
||||
uses: act10ns/slack@v1
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
"scripts": {
|
||||
"start": "yarn --cwd ./docs start",
|
||||
"build:docs": "yarn --cwd ./docs build",
|
||||
"build:packages": "yarn clean:packages && node --max-old-space-size=8192 node_modules/.bin/rollup -c",
|
||||
"build:ci": "yarn clean:packages && rollup -c --ci",
|
||||
"build:packages": "yarn clean:packages && for dir in packages/*; do package=${dir#'packages/'}; rollup -c --scope @tiptap/$package; done",
|
||||
"build:ci": "yarn clean:packages && for dir in packages/*; do package=${dir#'packages/'}; rollup -c --ci --scope @tiptap/$package; done",
|
||||
"clean:packages": "rm -rf ./packages/*/dist",
|
||||
"release": "yarn lint && yarn test && yarn build:packages && lerna publish",
|
||||
"lint": "eslint --quiet --no-error-on-unmatched-pattern ./",
|
||||
|
||||
Reference in New Issue
Block a user