forked from gatsbyjs/gatsby
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into fix/contentful-images-url-http-included
* master: (1432 commits) chore(release): Publish Fix Starter Library URL and update copy (gatsbyjs#10368) feat(gatsby-source-filesystem): keep original name of remote files (gatsbyjs#9777) docs(gatsby-source-contentful): Rewrite of gatsby-source-contentful query section (gatsbyjs#7533) Update "Deploying with Now" Guide (gatsbyjs#10390) Add Matomo to list of analytics plugins (gatsbyjs#10372) Add satispay.com to showcase (gatsbyjs#10380) Adds @goblindegook/gatsby-starter-typescript (gatsbyjs#10377) Fix typo in gatsby-remark-code-repls sample `gatsby-config.json` in README (gatsbyjs#10361) fix(gatsby): fix false type conflict warning on plugin fields (gatsbyjs#10355) fix(docs): Just a small typo fix in the docs (gatsbyjs#10359) feat(gatsby-image): add onStartLoad prop (gatsbyjs#6702) fix(docs): add Ecosystem to docs sidebar, consistency with tutorial sidebar (gatsbyjs#10350) fix(www): Starters.yaml housekeeping (gatsbyjs#10354) docs: add ttag starter (gatsbyjs#10352) docs: document branching (gatsbyjs#9983) plugin checker initial commit (gatsbyjs#7062) docs: new starter features is required (gatsbyjs#10353) docs: migrated line highlighting to highlight-line, highlight-start, highlight-end (gatsbyjs#10202) Add Birra Napoli to site showcase (gatsbyjs#10344) ...
- Loading branch information
Showing
1,888 changed files
with
83,154 additions
and
26,417 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
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,191 @@ | ||
executors: | ||
node: | ||
parameters: | ||
image: | ||
type: string | ||
default: "10" | ||
docker: | ||
- image: circleci/node:<< parameters.image >> | ||
|
||
aliases: | ||
e2e-executor: &e2e-executor | ||
docker: | ||
- image: cypress/browsers:chrome69 | ||
|
||
restore_cache: &restore_cache | ||
restore_cache: | ||
name: Restore node_modules cache | ||
keys: | ||
- yarn-cypress-cache-{{ checksum "yarn.lock" }} | ||
|
||
install_node_modules: &install_node_modules | ||
run: | ||
name: Install node modules | ||
command: yarn --frozen-lockfile | ||
|
||
persist_cache: &persist_cache | ||
save_cache: | ||
name: Save node modules cache | ||
key: yarn-cypress-cache-{{ checksum "yarn.lock" }} | ||
paths: | ||
- ~/.cache | ||
|
||
attach_to_bootstrap: &attach_to_bootstrap | ||
attach_workspace: | ||
at: packages | ||
|
||
ignore_master: &ignore_master | ||
filters: | ||
branches: | ||
ignore: | ||
- master | ||
|
||
ignore_docs: &ignore_docs | ||
filters: | ||
branches: | ||
ignore: | ||
- /docs.+/ | ||
- /blog.+/ | ||
|
||
test_template: &test_template | ||
steps: | ||
- checkout | ||
- run: ./scripts/assert-changed-files.sh "packages/*|.circleci/*" | ||
- <<: *restore_cache | ||
- <<: *install_node_modules | ||
- <<: *persist_cache | ||
- <<: *attach_to_bootstrap | ||
- run: yarn jest -w 1 | ||
|
||
e2e-test-workflow: &e2e-test-workflow | ||
filters: | ||
branches: | ||
ignore: | ||
- master | ||
- /docs.+/ | ||
- /blog.+/ | ||
requires: | ||
- bootstrap | ||
|
||
commands: | ||
e2e-test: | ||
parameters: | ||
trigger_pattern: | ||
type: string | ||
default: "packages/*|.circleci/*" | ||
test_path: | ||
type: string | ||
steps: | ||
- checkout | ||
- run: ./scripts/assert-changed-files.sh "<< parameters.trigger_pattern >>|<< parameters.test_path >>/*" | ||
- <<: *restore_cache | ||
- <<: *install_node_modules | ||
- <<: *persist_cache | ||
- <<: *attach_to_bootstrap | ||
- run: ./scripts/e2e-test.sh "<< parameters.test_path >>" | ||
|
||
version: 2.1 | ||
|
||
jobs: | ||
bootstrap: | ||
executor: node | ||
steps: | ||
- checkout | ||
- run: ./scripts/assert-changed-files.sh "packages/*|(e2e|integration)-tests/*|.circleci/*" | ||
- <<: *restore_cache | ||
- <<: *install_node_modules | ||
- <<: *persist_cache | ||
- run: yarn bootstrap | ||
- persist_to_workspace: | ||
root: packages | ||
paths: | ||
- "*" | ||
|
||
lint: | ||
executor: node | ||
steps: | ||
- checkout | ||
- <<: *restore_cache | ||
- <<: *install_node_modules | ||
- <<: *persist_cache | ||
- run: yarn lint | ||
|
||
unit_tests_node6: | ||
executor: | ||
name: node | ||
image: "6" | ||
<<: *test_template | ||
|
||
unit_tests_node8: | ||
executor: | ||
name: node | ||
image: "8" | ||
<<: *test_template | ||
|
||
unit_tests_node10: | ||
executor: node | ||
<<: *test_template | ||
|
||
integration_tests: | ||
executor: node | ||
steps: | ||
- checkout | ||
- run: ./scripts/assert-changed-files.sh "packages/*|integration-tests/*|.circleci/*" | ||
- <<: *restore_cache | ||
- <<: *install_node_modules | ||
- <<: *persist_cache | ||
- <<: *attach_to_bootstrap | ||
- run: yarn test:integration | ||
|
||
e2e_tests_gatsbygram: | ||
<<: *e2e-executor | ||
steps: | ||
- e2e-test: | ||
test_path: examples/gatsbygram | ||
|
||
e2e_tests_path-prefix: | ||
<<: *e2e-executor | ||
steps: | ||
- e2e-test: | ||
test_path: e2e-tests/path-prefix | ||
|
||
e2e_tests_gatsby-image: | ||
<<: *e2e-executor | ||
steps: | ||
- e2e-test: | ||
test_path: e2e-tests/gatsby-image | ||
|
||
e2e_tests_runtime: | ||
<<: *e2e-executor | ||
steps: | ||
- e2e-test: | ||
test_path: e2e-tests/production-runtime | ||
|
||
workflows: | ||
version: 2 | ||
build-test: | ||
jobs: | ||
- bootstrap | ||
- lint | ||
- unit_tests_node6: | ||
<<: *ignore_docs | ||
requires: | ||
- bootstrap | ||
- unit_tests_node8: | ||
<<: *ignore_docs | ||
requires: | ||
- bootstrap | ||
- unit_tests_node10: | ||
<<: *ignore_docs | ||
requires: | ||
- bootstrap | ||
- integration_tests: | ||
<<: *ignore_docs | ||
- e2e_tests_gatsbygram: | ||
<<: *e2e-test-workflow | ||
- e2e_tests_path-prefix: | ||
<<: *e2e-test-workflow | ||
- e2e_tests_gatsby-image: | ||
<<: *e2e-test-workflow | ||
- e2e_tests_runtime: | ||
<<: *e2e-test-workflow |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
**/*.js.snap text eol=lf | ||
**/__testfixtures__/** text eol=lf | ||
**/__tests__/fixtures/** text eol=lf | ||
**/*.md text eol=lf |
Oops, something went wrong.