prevent build memory leak, build one package ofter the other

This commit is contained in:
Hans Pagel
2020-11-18 11:04:38 +01:00
parent 91377be21e
commit 86631cee2f
2 changed files with 2 additions and 4 deletions

View File

@@ -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

View File

@@ -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 ./",