-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into lex111/iss2220
- Loading branch information
Showing
974 changed files
with
69,886 additions
and
29,712 deletions.
There are no files selected for viewing
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,10 +1,10 @@ | ||
{ | ||
"name": "Docusaurus Dev Container", | ||
"image": "mcr.microsoft.com/vscode/devcontainers/typescript-node:0-10-buster", | ||
"image": "mcr.microsoft.com/vscode/devcontainers/typescript-node:14-buster", | ||
"settings": { | ||
"terminal.integrated.shell.linux": "/bin/bash" | ||
}, | ||
"extensions": ["dbaeumer.vscode-eslint"], | ||
"extensions": ["dbaeumer.vscode-eslint", "orta.vscode-jest"], | ||
"forwardPorts": [3000], | ||
"postCreateCommand": "yarn install" | ||
} |
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
21 changes: 4 additions & 17 deletions
21
.github/workflows/canary-releases.yml → .github/workflows/canary-release.yml
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Lint | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
lint: | ||
timeout-minutes: 30 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2 | ||
- name: Installation | ||
uses: bahmutov/npm-install@v1 | ||
with: | ||
install-command: yarn | ||
- name: Lint | ||
run: yarn lint:ci | ||
- name: Prettier Code | ||
run: yarn prettier:diff | ||
- name: Prettier Docs | ||
run: yarn prettier-docs:diff |
27 changes: 10 additions & 17 deletions
27
.github/workflows/migration-cli-e2e-test.yml → .github/workflows/migration-cli.yml
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: V1 Tests Windows | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
paths: | ||
- 'website-1.x/**' | ||
- 'packages/docusaurus-1.x/**' | ||
- 'packages/docusaurus-init-1.x/**' | ||
|
||
jobs: | ||
build: | ||
timeout-minutes: 30 | ||
runs-on: windows-latest | ||
strategy: | ||
matrix: | ||
node: ['12', '14'] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node }} | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
- name: Installation | ||
run: yarn || yarn || yarn # 3 attempts to avoid timeout errors... | ||
- name: Docusaurus 1 Tests | ||
run: yarn test:v1 | ||
# Not useful to build v1 site because tests already build v1 (packages/docusaurus-1.x/lib/__tests__/build-files.test.js) |
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,31 @@ | ||
name: V1 Tests | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
paths: | ||
- 'website-1.x/**' | ||
- 'packages/docusaurus-1.x/**' | ||
- 'packages/docusaurus-init-1.x/**' | ||
|
||
jobs: | ||
test: | ||
timeout-minutes: 30 | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node: ['12', '14'] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node }} | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
- name: Installation | ||
uses: bahmutov/npm-install@v1 | ||
with: | ||
install-command: yarn | ||
- name: Test | ||
run: yarn test:v1 | ||
# Not useful to build v1 site because tests already build v1 (packages/docusaurus-1.x/lib/__tests__/build-files.test.js) |
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,23 @@ | ||
name: V2 Build Blog-only | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
paths: | ||
- 'website-1.x/blog/**' | ||
- 'packages/docusaurus/**' | ||
|
||
jobs: | ||
build: | ||
timeout-minutes: 30 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2 | ||
- name: Installation | ||
uses: bahmutov/npm-install@v1 | ||
with: | ||
install-command: yarn | ||
- name: Build blog-only | ||
run: yarn workspace docusaurus-2-website build:blogOnly |
Oops, something went wrong.