-
-
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.
- Loading branch information
1 parent
829a306
commit 0b0c0fe
Showing
6 changed files
with
142 additions
and
0 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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,2 @@ | ||
# Owner | ||
* @Shinigami92 |
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,2 @@ | ||
github: [Shinigami92] | ||
custom: ['https://www.paypal.com/donate?hosted_button_id=L7GY729FBKTZY'] |
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,50 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": ["config:base", "schedule:nonOfficeHours", "group:allNonMajor"], | ||
"timezone": "Europe/Berlin", | ||
"labels": ["dependencies"], | ||
"reviewersFromCodeOwners": true, | ||
"rangeStrategy": "bump", | ||
"packageRules": [ | ||
{ | ||
"groupName": "devDependencies", | ||
"matchDepTypes": ["devDependencies"], | ||
"rangeStrategy": "bump" | ||
}, | ||
{ | ||
"groupName": "dependencies", | ||
"matchDepTypes": ["dependencies"], | ||
"rangeStrategy": "replace" | ||
}, | ||
{ | ||
"groupName": "peerDependencies", | ||
"matchDepTypes": ["peerDependencies"], | ||
"rangeStrategy": "widen" | ||
}, | ||
{ | ||
"groupName": "engines", | ||
"matchDepTypes": ["engines"], | ||
"rangeStrategy": "replace" | ||
}, | ||
{ | ||
"groupName": "typescript-eslint", | ||
"matchPackagePrefixes": ["@typescript-eslint/"] | ||
}, | ||
{ | ||
"groupName": "vitest", | ||
"matchPackageNames": ["@vitest/coverage-c8", "@vitest/ui", "vitest"] | ||
}, | ||
{ | ||
"groupName": "prettier", | ||
"matchPackageNames": ["@types/prettier", "prettier"] | ||
}, | ||
{ | ||
"groupName": "typescript", | ||
"matchPackageNames": ["typescript"] | ||
} | ||
], | ||
"vulnerabilityAlerts": { | ||
"labels": ["security"], | ||
"assigneesFromCodeOwners": 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
|
||
permissions: | ||
contents: read # to fetch code (actions/checkout) | ||
|
||
jobs: | ||
test: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
node_version: [18] | ||
fail-fast: false | ||
timeout-minutes: 10 | ||
|
||
name: 'Build & Unit Test: node-${{ matrix.node_version }}, ${{ matrix.os }}' | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
# Required for docs/versions tests | ||
fetch-depth: 0 | ||
|
||
- name: Install pnpm | ||
uses: pnpm/action-setup@v2.2.4 | ||
|
||
- name: Set node version to ${{ matrix.node_version }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node_version }} | ||
cache: 'pnpm' | ||
|
||
- name: Install deps | ||
run: pnpm install | ||
|
||
- name: Build | ||
run: pnpm run build | ||
|
||
- name: Test | ||
run: pnpm run test | ||
|
||
lint: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 10 | ||
name: 'Lint: node-18, ubuntu-latest' | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Install pnpm | ||
uses: pnpm/action-setup@v2.2.4 | ||
|
||
- name: Set node version to 18 | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
cache: 'pnpm' | ||
|
||
- name: Install deps | ||
run: pnpm install | ||
|
||
# - name: Lint | ||
# run: pnpm run lint | ||
|
||
- name: Check formatting | ||
run: pnpm prettier --check . |
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,8 @@ | ||
{ | ||
"recommendations": [ | ||
"editorconfig.editorconfig", | ||
"esbenp.prettier-vscode", | ||
"pflannery.vscode-versionlens", | ||
"streetsidesoftware.code-spell-checker" | ||
] | ||
} |
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,6 @@ | ||
{ | ||
"files.associations": { | ||
"*.json5": "jsonc" | ||
}, | ||
"typescript.tsdk": "node_modules/typescript/lib" | ||
} |