-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: add gitignore * chore: add package.json * ci: add ci * chore: implementation * chore: fix script path
- Loading branch information
Showing
14 changed files
with
639 additions
and
0 deletions.
There are no files selected for viewing
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,27 @@ | ||
name: basic ci | ||
|
||
on: | ||
- push | ||
- pull_request | ||
|
||
jobs: | ||
basic: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
node: ["18", "20", "latest"] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Install Node.js ${{ matrix.node }} | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
- name: setup pnpm | ||
uses: pnpm/action-setup@v2 | ||
with: | ||
version: latest | ||
run_install: true | ||
- name: run test | ||
run: pnpm test |
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,10 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": [ | ||
"github>Omochice/personal-renovate-config//mise/golang", | ||
"github>Omochice/personal-renovate-config//mise/nodejs", | ||
"github>Omochice/personal-renovate-config//mise/python", | ||
"github>Omochice/personal-renovate-config//mise/ruby", | ||
"github>Omochice/personal-renovate-config//mise/rust" | ||
] | ||
} |
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,20 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"customManagers": [ | ||
{ | ||
"customType": "regex", | ||
"fileMatch": [ | ||
"^.mise.toml$", | ||
".mise/config.toml$", | ||
".config/mise.toml$", | ||
".config/mise/config.toml$" | ||
], | ||
"matchStrings": [ | ||
"golang\\s*=\\s*\"v?(?<currentValue>\\S+)\"\\s*#\\s*renovate:\\s*mise", | ||
"golang\\s*=\\s*'v?(?<currentValue>\\S+)'\\s*#\\s*renovate:\\s*mise" | ||
], | ||
"datasourceTemplate": "github-tag", | ||
"depNameTemplate": "golang/go" | ||
} | ||
] | ||
} |
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,20 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"customManagers": [ | ||
{ | ||
"customType": "regex", | ||
"fileMatch": [ | ||
"^.mise.toml$", | ||
".mise/config.toml$", | ||
".config/mise.toml$", | ||
".config/mise/config.toml$" | ||
], | ||
"matchStrings": [ | ||
"nodejs\\s*=\\s*\"v?(?<currentValue>\\S+)\"\\s*#\\s*renovate:\\s*mise", | ||
"nodejs\\s*=\\s*'v?(?<currentValue>\\S+)'\\s*#\\s*renovate:\\s*mise" | ||
], | ||
"datasourceTemplate": "node-version", | ||
"depNameTemplate": "node" | ||
} | ||
] | ||
} |
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,20 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"customManagers": [ | ||
{ | ||
"customType": "regex", | ||
"fileMatch": [ | ||
"^.mise.toml$", | ||
".mise/config.toml$", | ||
".config/mise.toml$", | ||
".config/mise/config.toml$" | ||
], | ||
"matchStrings": [ | ||
"python\\s*=\\s*\"v?(?<currentValue>\\S+)\"\\s*#\\s*renovate:\\s*mise", | ||
"python\\s*=\\s*'v?(?<currentValue>\\S+)'\\s*#\\s*renovate:\\s*mise" | ||
], | ||
"datasourceTemplate": "github-tag", | ||
"depNameTemplate": "python/cpython" | ||
} | ||
] | ||
} |
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,20 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"customManagers": [ | ||
{ | ||
"customType": "regex", | ||
"fileMatch": [ | ||
"^.mise.toml$", | ||
".mise/config.toml$", | ||
".config/mise.toml$", | ||
".config/mise/config.toml$" | ||
], | ||
"matchStrings": [ | ||
"ruby\\s*=\\s*\"v?(?<currentValue>\\S+)\"\\s*#\\s*renovate:\\s*mise", | ||
"ruby\\s*=\\s*'v?(?<currentValue>\\S+)'\\s*#\\s*renovate:\\s*mise" | ||
], | ||
"datasourceTemplate": "ruby-version", | ||
"depNameTemplate": "ruby-version" | ||
} | ||
] | ||
} |
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,20 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"customManagers": [ | ||
{ | ||
"customType": "regex", | ||
"fileMatch": [ | ||
"^.mise.toml$", | ||
".mise/config.toml$", | ||
".config/mise.toml$", | ||
".config/mise/config.toml$" | ||
], | ||
"matchStrings": [ | ||
"rust\\s*=\\s*\"v?(?<currentValue>\\S+)\"\\s*#\\s*renovate:\\s*mise", | ||
"rust\\s*=\\s*'v?(?<currentValue>\\S+)'\\s*#\\s*renovate:\\s*mise" | ||
], | ||
"datasourceTemplate": "github-tag", | ||
"depNameTemplate": "rust-lang/rust" | ||
} | ||
] | ||
} |
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,26 @@ | ||
{ | ||
"name": "@Omochice/personal-renovate-config", | ||
"version": "0.0.1", | ||
"private": true, | ||
"description": "renovate configuration for me(experimental)", | ||
"keywords": [ | ||
"renovate" | ||
], | ||
"license": "zlib", | ||
"author": "Omochice", | ||
"scripts": { | ||
"test": "npm-run-all test:validate test:regex", | ||
"test:validate": "renovate-config-validator --strict mise.json mise/*.json", | ||
"test:regex": "vitest run", | ||
"fmt": "npm-run-all fmt:package fmt:json", | ||
"fmt:package": "sort-package-json", | ||
"fmt:json": "biome format ./ --write" | ||
}, | ||
"devDependencies": { | ||
"@biomejs/biome": "^1.2.2", | ||
"npm-run-all": "^4.1.5", | ||
"renovate": "^37.27.0", | ||
"sort-package-json": "^2.6.0", | ||
"vitest": "^1.0.0" | ||
} | ||
} |
Oops, something went wrong.