Merge branch 'main' of https://github.com/ueberdosis/tiptap-next into main
This commit is contained in:
19
.github/workflows/build.yml
vendored
19
.github/workflows/build.yml
vendored
@@ -45,17 +45,28 @@ jobs:
|
||||
if: steps.cache.outputs.cache-hit != 'true'
|
||||
run: yarn install
|
||||
|
||||
- name: Fix code style linting errors
|
||||
id: lint-fix
|
||||
run: yarn lint:fix
|
||||
continue-on-error: true
|
||||
|
||||
- name: Commit fixed linting errors
|
||||
id: commit
|
||||
uses: stefanzweifel/git-auto-commit-action@v4
|
||||
with:
|
||||
commit_message: "ci: fix code style linting errors"
|
||||
|
||||
- name: Lint code
|
||||
id: lint
|
||||
run: yarn lint
|
||||
|
||||
- name: Send Slack notifications
|
||||
uses: act10ns/slack@v1
|
||||
if: failure()
|
||||
with:
|
||||
status: ${{ job.status }}
|
||||
steps: ${{ toJson(steps) }}
|
||||
channel: '#tiptap-notifications'
|
||||
if: failure()
|
||||
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -104,11 +115,11 @@ jobs:
|
||||
|
||||
- name: Send Slack notifications
|
||||
uses: act10ns/slack@v1
|
||||
if: failure()
|
||||
with:
|
||||
status: ${{ job.status }}
|
||||
steps: ${{ toJson(steps) }}
|
||||
channel: '#tiptap-notifications'
|
||||
if: failure()
|
||||
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -148,13 +159,11 @@ 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
|
||||
if: failure()
|
||||
with:
|
||||
status: ${{ job.status }}
|
||||
steps: ${{ toJson(steps) }}
|
||||
channel: '#tiptap-notifications'
|
||||
if: failure()
|
||||
|
||||
11
package.json
11
package.json
@@ -12,14 +12,15 @@
|
||||
],
|
||||
"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",
|
||||
"clean:packages": "rm -rf ./packages/*/dist",
|
||||
"release": "yarn lint && yarn test && yarn build:packages && lerna publish",
|
||||
"lint": "eslint --quiet --no-error-on-unmatched-pattern ./",
|
||||
"lint:fix": "eslint --fix --quiet --no-error-on-unmatched-pattern ./",
|
||||
"test:open": "cypress open --project tests",
|
||||
"test": "cypress run --project tests",
|
||||
"build:docs": "yarn --cwd ./docs build",
|
||||
"build:ci": "yarn clean:packages && for dir in packages/*; do package=${dir#'packages/'}; rollup -c --ci --scope @tiptap/$package; done",
|
||||
"build:packages": "yarn clean:packages && for dir in packages/*; do package=${dir#'packages/'}; rollup -c --scope @tiptap/$package; done",
|
||||
"release": "yarn lint && yarn test && yarn build:packages && lerna publish",
|
||||
"clean:packages": "rm -rf ./packages/*/dist",
|
||||
"reset": "yarn clean:packages && rm -rf ./**/.cache && rm -rf ./**/node_modules && rm -rf ./yarn.lock && yarn install"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
Reference in New Issue
Block a user