-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into fix-validating-remote-content
* develop: (81 commits) fix: upgrade dompurify from 2.1.0 to 2.1.1 (#1402) fix: upgrade dompurify from 2.0.17 to 2.1.0 (#1397) fix: search on homepage test (#1398) fix: the sidebar links to another site. (#1336) fix: Can't search homepage content (#1391) fix: upgrade debug from 4.1.1 to 4.3.0 (#1390) fix: packages/docsify-server-renderer/package.json & packages/docsify-server-renderer/package-lock.json to reduce vulnerabilities (#1389) Fix eslint warnings (#1388) docs: add crossOriginLinks configurations details. (#1386) Remove Cypress screenshots Fix friendly message display Add Vue 3 compatibility Show dir listing & help msg for manual instance Add NODE_MODULES_URL global Jest + Playwright Testing (#1276) update doc (#1381) Fix scroll event end value fix: upgrade docsify from 4.11.4 to 4.11.6 (#1373) chore(deps): bump node-fetch in /packages/docsify-server-renderer (#1370) test: fix cannot search list content (#1367) ...
- Loading branch information
Showing
200 changed files
with
3,174 additions
and
1,813 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
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 |
---|---|---|
|
@@ -6,7 +6,6 @@ module.exports = { | |
ecmaVersion: 2019, | ||
}, | ||
env: { | ||
jest: true, | ||
browser: true, | ||
node: true, | ||
es6: true, | ||
|
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 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 |
---|---|---|
@@ -1,31 +1,30 @@ | ||
name: Linting Checks | ||
name: Lint | ||
|
||
on: | ||
on: | ||
push: | ||
branches: | ||
- master | ||
- develop | ||
branches: | ||
- master | ||
- develop | ||
pull_request: | ||
branches: | ||
- master | ||
- develop | ||
branches: | ||
- master | ||
- develop | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-16.04 | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
node-version: [10.x, 12.x, 13.x] | ||
node-version: [12.x, 14.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: bootstrap | ||
run: npm run bootstrap | ||
- name: Build | ||
run: npm run build | ||
- name: Linting | ||
run: npm run lint | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: Install | ||
run: npm i --ignore-scripts | ||
- name: Lint | ||
run: npm run lint |
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 |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Build & Test | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- develop | ||
pull_request: | ||
branches: | ||
- master | ||
- develop | ||
|
||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
node-version: [12.x, 14.x] | ||
os: ['macos-latest', 'ubuntu-latest', 'windows-latest'] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: bootstrap | ||
run: npm run bootstrap | ||
- name: unit tests | ||
run: npm run test:unit -- -ci --runInBand | ||
- name: integration tests | ||
run: npm run test:integration -- -ci --runInBand | ||
- uses: microsoft/[email protected] | ||
- name: e2e tests | ||
run: npm run test:e2e -- --ci --runInBand | ||
- name: Upload artifacts (diff output) | ||
uses: actions/upload-artifact@v2 | ||
if: failure() | ||
with: | ||
name: ${{ matrix.os }}-${{ matrix.node-version }}-diff-output | ||
path: ${{ github.workspace }}/test/**/__diff_output__/* |
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 |
---|---|---|
@@ -1,11 +1,10 @@ | ||
*.log | ||
.DS_Store | ||
.idea | ||
__diff_output__ | ||
lib/ | ||
node_modules | ||
themes/ | ||
lib/ | ||
cypress/integration/examples | ||
cypress/fixtures/docs | ||
|
||
# exceptions | ||
!.gitkeep | ||
!.gitkeep |
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 |
---|---|---|
@@ -0,0 +1,73 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Run tests", | ||
"runtimeExecutable": "npm", | ||
"runtimeArgs": ["run-script", "test"], | ||
"console": "integratedTerminal" | ||
}, | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Run current test file", | ||
"runtimeExecutable": "npm", | ||
"runtimeArgs": ["run-script", "test"], | ||
"args": ["--", "-i", "${relativeFile}", "--testPathIgnorePatterns"], | ||
"console": "integratedTerminal" | ||
}, | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Run selected test name", | ||
"runtimeExecutable": "npm", | ||
"runtimeArgs": ["run-script", "test"], | ||
"args": [ | ||
"--", | ||
"-i", | ||
"${relativeFile}", | ||
"-t", | ||
"${selectedText}", | ||
"--testPathIgnorePatterns" | ||
], | ||
"console": "integratedTerminal" | ||
}, | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Update current test file snapshot(s)", | ||
"runtimeExecutable": "npm", | ||
"runtimeArgs": ["run-script", "test"], | ||
"args": [ | ||
"--", | ||
"-i", | ||
"${relativeFile}", | ||
"--updateSnapshot", | ||
"--testPathIgnorePatterns" | ||
], | ||
"console": "integratedTerminal" | ||
}, | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Update selected test name snapshot(s)", | ||
"runtimeExecutable": "npm", | ||
"runtimeArgs": ["run-script", "test"], | ||
"args": [ | ||
"--", | ||
"-i", | ||
"${relativeFile}", | ||
"-t", | ||
"${selectedText}", | ||
"--updateSnapshot", | ||
"--testPathIgnorePatterns" | ||
], | ||
"console": "integratedTerminal" | ||
} | ||
] | ||
} |
Oops, something went wrong.