Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
Merged
17 changes: 8 additions & 9 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,37 +11,36 @@ body:
for us to fix it when you attach a screenshot as well.
- type: input
attributes:
label: "URL:"
label: 'URL:'
description: The URL of the page you are reporting an issue on.
placeholder: https://nodejs.dev
validations:
required: true
- type: input
attributes:
label: "Browser Name:"
label: 'Browser Name:'
description: What kind of browser are you using?
placeholder: Chrome
validations:
required: true
- type: input
attributes:
label: "Browser Version:"
label: 'Browser Version:'
description: What version of browser are you using?
placeholder: "103.0.5060.134"
placeholder: '103.0.5060.134'
validations:
required: true
- type: input
attributes:
label: "Operating System:"
description:
What operating system are you using
label: 'Operating System:'
description: What operating system are you using
(Write it in full, with version number)?
placeholder: "Windows 10, 21H2, 19044.1826"
placeholder: 'Windows 10, 21H2, 19044.1826'
validations:
required: true
- type: textarea
attributes:
label: "How to reproduce the issue:"
label: 'How to reproduce the issue:'
placeholder: |
1. What I did.
2. What I expected to happen.
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ body:
something related to your suggestion.
- type: textarea
attributes:
label: "Enter your suggestions in details:"
label: 'Enter your suggestions in details:'
placeholder: |
1. What I expected to happen.
2. Your reason (if possible, images or videos are welcome).
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/i18n.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ body:
to create a new localization team.
- type: textarea
attributes:
label: "Enter your issue on localizations here:"
label: 'Enter your issue on localizations here:'
placeholder: |
1. The name of the team (e.g: nodejs/node-cn).
2. Any problems to report or you want to create it?
Expand Down
20 changes: 10 additions & 10 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 99
- package-ecosystem: github-actions
directory: '/'
schedule:
interval: daily
open-pull-requests-limit: 99

- package-ecosystem: npm
directory: "/"
schedule:
interval: monthly
open-pull-requests-limit: 99
- package-ecosystem: npm
directory: '/'
schedule:
interval: monthly
open-pull-requests-limit: 99
3 changes: 3 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ jobs:
- name: Install NPM packages
run: npm ci

- name: Run Format Check
run: npm run format-check

- name: Run Lint Checker
run: npm run lint

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@
"build": "gatsby build",
"build-ci": "gatsby build --prefix-paths",
"start": "gatsby develop",
"format": "prettier --write \"**/*.{ts,tsx,js,scss}\" && npm run lint:fix",
"format-check": "prettier --check \"**/*.{ts,tsx,js,scss}\"",
"format": "prettier --write \"**/*.{ts,tsx,js,scss,yml}\" && npm run lint:fix",
"format-check": "prettier --check \"**/*.{ts,tsx,js,scss,yml}\"",
"update-snapshot": "npm run test -- --updateSnapshot",
"pretest": "npm run format-check && npm run lint",
"test": "jest",
Expand Down