Skip to content

Commit f9b9d96

Browse files
committed
.
2 parents 3b829ca + 99f3921 commit f9b9d96

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+1045
-693
lines changed

.circleci/config.yml

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,13 @@ commands:
3636
name: Broken link checker for changed files
3737
command: yarn changed-files-broken-link-checker:ci
3838

39+
job-defaults: &job-defaults
40+
executor: node-executor
41+
working_directory: ~/repo
42+
3943
jobs:
4044
build:
41-
executor: node-executor
42-
working_directory: ~/repo
45+
<<: *job-defaults
4346
steps:
4447
- nuxt-build
4548
- persist_to_workspace:
@@ -49,17 +52,23 @@ jobs:
4952
- node_modules/*
5053

5154
link-check-changed-files:
52-
executor: node-executor
53-
working_directory: ~/repo
55+
<<: *job-defaults
5456
steps:
5557
- checkout
5658
- attach_workspace:
5759
at: ~/repo
5860
- link-check-changed-files
5961

62+
lint:
63+
<<: *job-defaults
64+
steps:
65+
- checkout
66+
- attach_workspace:
67+
at: ~/repo
68+
- run: yarn lint
69+
6070
broken-link-check-prod:
61-
executor: node-executor
62-
working_directory: ~/repo
71+
<<: *job-defaults
6372
steps:
6473
- checkout
6574
- restore_cache:
@@ -73,15 +82,15 @@ jobs:
7382
command: yarn broken-link-checker:prod
7483

7584
release:
76-
executor: node-executor
85+
<<: *job-defaults
7786
steps:
7887
- nuxt-build
7988
- run:
8089
name: Docsearch Scraper
8190
command: node ./cy_scripts/scrape.js
8291

8392
publish-scheduled-sanity-content:
84-
executor: node-executor
93+
<<: *job-defaults
8594
steps:
8695
- checkout
8796
- restore_cache:
@@ -113,6 +122,11 @@ workflows:
113122
requires:
114123
- build
115124

125+
- lint:
126+
name: "Lint JS/CSS/Markdown"
127+
requires:
128+
- build
129+
116130
# Run E2E tests in Chrome
117131
- cypress/run:
118132
name: 'UI Tests - Chrome'

.github/ISSUE_TEMPLATE.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
name: "Bug Report"
2+
description: "File a bug report"
3+
labels: ["type: bug"]
4+
body:
5+
- type: "markdown"
6+
attributes:
7+
value: |
8+
Thanks for creating an issue 😄!
9+
10+
Please search open/closed issues before submitting. Someone
11+
might have asked the same thing before 😉!
12+
13+
We're all volunteers here, so help us help you by taking the time to
14+
accurately fill out this template. ❤️
15+
- type: "input"
16+
id: "description"
17+
attributes:
18+
label: "Description"
19+
description: "A brief description of the issue(s)."
20+
placeholder: |
21+
When I ____, I expected ____ to happen but ____ happened instead.
22+
validations:
23+
required: true
24+
- type: "input"
25+
id: "link"
26+
attributes:
27+
label: "URL of Issue(s)"
28+
description: |
29+
A link to the production environment which demonstrates the bug.
30+
placeholder: "https://docs.cypress.io/"
31+
validations:
32+
required: true
33+
- type: "textarea"
34+
id: "steps"
35+
attributes:
36+
label: "Steps to replicate"
37+
description: |
38+
Explain how to cause the issue in the provided reproduction.
39+
value: |
40+
1. Go to '...'
41+
2. Click on '...'
42+
3. Scroll down to '...'
43+
4. See error
44+
- type: "input"
45+
id: "browser"
46+
attributes:
47+
label: "Browser"
48+
description: "The browser(s) this issue occurred with."
49+
placeholder: "Google Chrome 95"
50+
- type: "checkboxes"
51+
id: "device"
52+
attributes:
53+
label: "Device"
54+
description: "The devices(s) this issue occurred with."
55+
options:
56+
- label: "PC"
57+
- label: "Mac"
58+
- label: "iPhone"
59+
- label: "iPad"
60+
- label: "Android Phone"
61+
- label: "Android Tablet"
62+
- type: "textarea"
63+
id: "additional-information"
64+
attributes:
65+
label: "Additional Information"
66+
description: |
67+
Use this section to provide any additional information you might have
68+
like screenshots, notes, or links to ideas.
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: "Documentation Request"
2+
description: "Request for documentation to be added/altered"
3+
labels: ["content: rewrite"]
4+
body:
5+
- type: "markdown"
6+
attributes:
7+
value: |
8+
Thanks for filing a documentation request!
9+
10+
If you have an idea for a new documentation topic, noticed that
11+
something is not properly documented, or feel that something is
12+
incorrect with the current documentation, you're in the right place!
13+
- type: "input"
14+
id: "subject"
15+
attributes:
16+
label: "Subject"
17+
description:
18+
"What is the subject (guides, api, plugins, examples, faq) of this request?"
19+
placeholder: "Guides"
20+
validations:
21+
required: true
22+
- type: "textarea"
23+
id: "description"
24+
attributes:
25+
label: "Description"
26+
description:
27+
"What about the subject's documentation should be added or changed?"
28+
placeholder: "Update Guides with new 'Migrating to Cypress' page"
29+
validations:
30+
required: true

.github/PULL_REQUEST_TEMPLATE/issue_template.md

Lines changed: 0 additions & 6 deletions
This file was deleted.
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<!---
2+
Thanks for creating a Pull Request 💖!
3+
4+
Please read the following before submitting:
5+
- PRs that adds new external dependencies might take a while to review.
6+
- Keep your PR as small as possible.
7+
- Limit your PR to one type (docs, refactor, ci, or bugfix)
8+
-->
9+
10+
# Github Issue :octocat:
11+
12+
Closes # <!-- Github issue # here -->
13+
14+
## 📝 Purpose of Pull Request
15+
16+
> Add a brief description
17+
18+
## 🤔 How to Setup
19+
20+
### 📄 Page(s) to test
21+
22+
> Please provide links to the changes if applicable
23+
24+
### ✅ Steps to run pull request
25+
26+
> Please describe the behavior or changes to run this PR
27+
28+
## 📸 Proof of Change
29+
30+
> Place screenshots or GIFs of visual changes if applicable
31+
32+
## 📝 Additional Information

CODE_OF_CONDUCT.md

Lines changed: 2 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -1,75 +1,2 @@
1-
# Contributor Code of Conduct
2-
3-
## Our Pledge
4-
5-
In the interest of fostering an open and welcoming environment, we as
6-
contributors and maintainers pledge to making participation in our project and
7-
our community a harassment-free experience for everyone, regardless of age, body
8-
size, disability, ethnicity, gender identity and expression, level of
9-
experience, nationality, personal appearance, race, religion, or sexual identity
10-
and orientation.
11-
12-
## Our Standards
13-
14-
Examples of behavior that contributes to creating a positive environment
15-
include:
16-
17-
- Using welcoming and inclusive language
18-
- Being respectful of differing viewpoints and experiences
19-
- Gracefully accepting constructive criticism
20-
- Focusing on what is best for the community
21-
- Showing empathy towards other community members
22-
23-
Examples of unacceptable behavior by participants include:
24-
25-
- The use of sexualized language or imagery and unwelcome sexual attention or
26-
advances
27-
- Trolling, insulting/derogatory comments, and personal or political attacks
28-
- Public or private harassment
29-
- Publishing others' private information, such as a physical or electronic
30-
address, without explicit permission
31-
- Other conduct which could reasonably be considered inappropriate in a
32-
professional setting
33-
34-
## Our Responsibilities
35-
36-
Project maintainers are responsible for clarifying the standards of acceptable
37-
behavior and are expected to take appropriate and fair corrective action in
38-
response to any instances of unacceptable behavior.
39-
40-
Project maintainers have the right and responsibility to remove, edit, or reject
41-
comments, commits, code, wiki edits, issues, and other contributions that are
42-
not aligned to this Code of Conduct, or to ban temporarily or permanently any
43-
contributor for other behaviors that they deem inappropriate, threatening,
44-
offensive, or harmful.
45-
46-
## Scope
47-
48-
This Code of Conduct applies both within project spaces and in public spaces
49-
when an individual is representing the project or its community. Examples of
50-
representing a project or community include using an official project e-mail
51-
address, posting via an official social media account, or acting as an appointed
52-
representative at an online or offline event. Representation of a project may be
53-
further defined and clarified by project maintainers.
54-
55-
## Enforcement
56-
57-
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58-
reported by contacting the project team at
59-
[[email protected]](mailto:[email protected]). All complaints will be reviewed and
60-
investigated and will result in a response that is deemed necessary and
61-
appropriate to the circumstances. The project team is obligated to maintain
62-
confidentiality with regard to the reporter of an incident. Further details of
63-
specific enforcement policies may be posted separately.
64-
65-
Project maintainers who do not follow or enforce the Code of Conduct in good
66-
faith may face temporary or permanent repercussions as determined by other
67-
members of the project's leadership.
68-
69-
## Attribution
70-
71-
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
72-
version 1.4, available at
73-
https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
74-
75-
[homepage]: https://www.contributor-covenant.org
1+
Please review our
2+
[Code of Conduct](https://github.com/cypress-io/cypress/blob/develop/CODE_OF_CONDUCT.md).

0 commit comments

Comments
 (0)