diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..6ed2a97 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @vvakame diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..2a101d7 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,20 @@ +version: 2 +updates: + - package-ecosystem: "npm" + directory: "/" + schedule: + interval: "weekly" + groups: + minor-and-patch: + update-types: + - "minor" + - "patch" + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + groups: + minor-and-patch: + update-types: + - "minor" + - "patch" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..ac13722 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,17 @@ +name: CI +on: + push: + branches: [master] + pull_request: + branches: [master] +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + - uses: actions/setup-node@v6 + with: + node-version-file: "package.json" + cache: "npm" + - run: npm ci + - run: npm test diff --git a/package.json b/package.json index bf60cd3..e7e7182 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,9 @@ "url": "https://github.com/prh/rules/issues" }, "homepage": "https://github.com/prh/rules#readme", + "engines": { + "node": ">=22" + }, "dependencies": { "prh": "^6.0.1" }