diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..60d2e208 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,7 @@ +version: 2 +updates: + - package-ecosystem: npm + directory: '/' + schedule: + interval: weekly + open-pull-requests-limit: 10 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 141e33e4..2b696e7e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,16 +11,16 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [16.x] + node-version: [18.x] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - name: Cache pnpm modules - uses: actions/cache@v2 + uses: actions/cache@v4 env: cache-name: cache-pnpm-modules with: @@ -28,9 +28,9 @@ jobs: key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.node-version }}-${{ hashFiles('**/pnpm-lock.yaml') }} restore-keys: | ${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.node-version }}- - - uses: pnpm/action-setup@v2.0.1 + - uses: pnpm/action-setup@v3 with: - version: 6.25.1 + version: 8.15.3 run_install: true - run: pnpm test - run: pnpm lint diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 694103a1..f306b636 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -10,16 +10,16 @@ jobs: runs-on: macos-latest strategy: matrix: - node-version: [16.x] + node-version: [18.x] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - name: Cache pnpm modules - uses: actions/cache@v2 + uses: actions/cache@v4 env: cache-name: cache-pnpm-modules with: @@ -27,9 +27,9 @@ jobs: key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.node-version }}-${{ hashFiles('**/pnpm-lock.yaml') }} restore-keys: | ${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.node-version }}- - - uses: pnpm/action-setup@v2.0.1 + - uses: pnpm/action-setup@v3 with: - version: 6.25.1 + version: 8.15.3 run_install: true - run: pnpm build:all env: diff --git a/.nvmrc b/.nvmrc index d7cb9ec3..6d80269a 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -16.13.2 \ No newline at end of file +18.16.0 diff --git a/package.json b/package.json index bd5cee4c..6c27aab2 100644 --- a/package.json +++ b/package.json @@ -166,7 +166,7 @@ "webpack-electron-reload": "^1.0.1" }, "engines": { - "node": ">=16.0.0" + "node": ">=18.0.0" }, "lint-staged": { "**/*.{js,ts}": [ @@ -178,6 +178,6 @@ }, "browserslist": [ "electron >= 17", - "node >= 16" + "node >= 18" ] } diff --git a/renovate.json b/renovate.json deleted file mode 100644 index c3a26778..00000000 --- a/renovate.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "extends": [ - "config:base", - "group:allNonMajor", - "config:semverAllMonthly", - "schedule:monthly", - ":maintainLockFilesMonthly", - ":separateMultipleMajorReleases", - ":enableVulnerabilityAlerts", - ":npm", - ":automergePatch", - ":automergePr", - ":automergeTypes", - ":rebaseStalePrs" - ] -}