-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feature/extend_link_protocol_options
- Loading branch information
Showing
335 changed files
with
6,285 additions
and
3,580 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 |
---|---|---|
|
@@ -23,50 +23,49 @@ jobs: | |
node-version: [16] | ||
|
||
steps: | ||
|
||
- uses: actions/[email protected] | ||
|
||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/[email protected] | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Load cached dependencies | ||
uses: actions/[email protected] | ||
id: cache | ||
with: | ||
path: | | ||
**/node_modules | ||
/home/runner/.cache/Cypress | ||
key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/package-lock.json') }} | ||
|
||
- name: Install dependencies | ||
id: install-dependencies | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
run: npm install | ||
|
||
# - name: Fix code style linting errors | ||
# id: lint-fix | ||
# run: npm run 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: npm run lint | ||
|
||
- name: Send Slack notifications | ||
uses: act10ns/slack@v1 | ||
if: failure() | ||
with: | ||
status: ${{ job.status }} | ||
steps: ${{ toJson(steps) }} | ||
channel: '#tiptap-notifications' | ||
- uses: actions/[email protected] | ||
|
||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/[email protected] | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Load cached dependencies | ||
uses: actions/[email protected] | ||
id: cache | ||
with: | ||
path: | | ||
**/node_modules | ||
/home/runner/.cache/Cypress | ||
key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/package-lock.json') }} | ||
|
||
- name: Install dependencies | ||
id: install-dependencies | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
run: npm install | ||
|
||
# - name: Fix code style linting errors | ||
# id: lint-fix | ||
# run: npm run 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: npm run lint | ||
|
||
- name: Send Slack notifications | ||
uses: act10ns/slack@v1 | ||
if: failure() | ||
with: | ||
status: ${{ job.status }} | ||
steps: ${{ toJson(steps) }} | ||
channel: '#tiptap-notifications' | ||
|
||
test: | ||
runs-on: ubuntu-latest | ||
|
@@ -79,48 +78,55 @@ jobs: | |
node-version: [16] | ||
|
||
steps: | ||
|
||
- uses: actions/[email protected] | ||
|
||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/[email protected] | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Run tests with Cypress | ||
id: cypress | ||
uses: cypress-io/[email protected] | ||
with: | ||
cache-key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/package-lock.json') }} | ||
start: npm run start | ||
wait-on: 'http://localhost:3000' | ||
project: ./tests | ||
browser: chrome | ||
quiet: true | ||
|
||
- name: Export screenshots (on failure only) | ||
uses: actions/[email protected] | ||
if: failure() | ||
with: | ||
name: cypress-screenshots | ||
path: tests/cypress/screenshots | ||
retention-days: 7 | ||
|
||
- name: Export screen recordings (on failure only) | ||
uses: actions/[email protected] | ||
if: failure() | ||
with: | ||
name: cypress-videos | ||
path: tests/cypress/videos | ||
retention-days: 7 | ||
|
||
- name: Send Slack notifications | ||
uses: act10ns/slack@v1 | ||
if: failure() | ||
with: | ||
status: ${{ job.status }} | ||
steps: ${{ toJson(steps) }} | ||
channel: '#tiptap-notifications' | ||
- uses: actions/[email protected] | ||
|
||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/[email protected] | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Install dependencies | ||
id: install-dependencies | ||
run: npm install | ||
|
||
- name: Try to build the packages | ||
id: build-packages | ||
run: npm run build:pm | ||
|
||
- name: Run tests with Cypress | ||
id: cypress | ||
uses: cypress-io/[email protected] | ||
with: | ||
cache-key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/package-lock.json') }} | ||
start: npm run start | ||
wait-on: 'http://localhost:3000' | ||
project: ./tests | ||
browser: chrome | ||
quiet: true | ||
|
||
- name: Export screenshots (on failure only) | ||
uses: actions/[email protected] | ||
if: failure() | ||
with: | ||
name: cypress-screenshots | ||
path: tests/cypress/screenshots | ||
retention-days: 7 | ||
|
||
- name: Export screen recordings (on failure only) | ||
uses: actions/[email protected] | ||
if: failure() | ||
with: | ||
name: cypress-videos | ||
path: tests/cypress/videos | ||
retention-days: 7 | ||
|
||
- name: Send Slack notifications | ||
uses: act10ns/slack@v1 | ||
if: failure() | ||
with: | ||
status: ${{ job.status }} | ||
steps: ${{ toJson(steps) }} | ||
channel: '#tiptap-notifications' | ||
|
||
build: | ||
runs-on: ubuntu-latest | ||
|
@@ -135,36 +141,35 @@ jobs: | |
node-version: [16] | ||
|
||
steps: | ||
|
||
- uses: actions/[email protected] | ||
|
||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/[email protected] | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Load cached dependencies | ||
uses: actions/[email protected] | ||
id: cache | ||
with: | ||
path: | | ||
**/node_modules | ||
/home/runner/.cache/Cypress | ||
key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/package-lock.json') }} | ||
|
||
- name: Install dependencies | ||
id: install-dependencies | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
run: npm install | ||
|
||
- name: Try to build the packages | ||
id: build-packages | ||
run: npm run build:ci | ||
|
||
- name: Send Slack notifications | ||
uses: act10ns/slack@v1 | ||
if: failure() | ||
with: | ||
status: ${{ job.status }} | ||
steps: ${{ toJson(steps) }} | ||
channel: '#tiptap-notifications' | ||
- uses: actions/[email protected] | ||
|
||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/[email protected] | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Load cached dependencies | ||
uses: actions/[email protected] | ||
id: cache | ||
with: | ||
path: | | ||
**/node_modules | ||
/home/runner/.cache/Cypress | ||
key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/package-lock.json') }} | ||
|
||
- name: Install dependencies | ||
id: install-dependencies | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
run: npm install | ||
|
||
- name: Try to build the packages | ||
id: build-packages | ||
run: npm run build:ci | ||
|
||
- name: Send Slack notifications | ||
uses: act10ns/slack@v1 | ||
if: failure() | ||
with: | ||
status: ${{ job.status }} | ||
steps: ${{ toJson(steps) }} | ||
channel: '#tiptap-notifications' |
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -56,5 +56,6 @@ | |
"suggestion", | ||
"vue-2", | ||
"vue-3" | ||
] | ||
], | ||
"editor.defaultFormatter": "dbaeumer.vscode-eslint" | ||
} |
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
Oops, something went wrong.