diff --git a/.github/renovate.json b/.github/renovate.json new file mode 100644 index 0000000..e359722 --- /dev/null +++ b/.github/renovate.json @@ -0,0 +1,10 @@ +{ + "extends": [ + "config:base", + ":prHourlyLimitNone", + ":prConcurrentLimitNone", + ":semanticCommits" + ], + "rangeStrategy": "update-lockfile", + "postUpdateOptions": ["npmDedupe", "yarnDedupeHighest"] +} diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml new file mode 100644 index 0000000..15b6ed6 --- /dev/null +++ b/.github/workflows/nodejs.yml @@ -0,0 +1,29 @@ +name: Node CI + +on: + push: + branches: + - master + pull_request: + types: + - opened + - synchronize + branches: + - master + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Use Node.js + uses: actions/setup-node@v4 + with: + node-version: 21.x + - name: Install + run: | + npm ci + - name: Run ESLint + run: npm run lint + - name: Build + run: npm run build