From dc505ae81c5c0e8ac3b79132589c425a170f3e83 Mon Sep 17 00:00:00 2001 From: Sam Maister Date: Wed, 21 Feb 2024 01:01:51 +0000 Subject: [PATCH 1/3] ci: switch to dependabot --- .github/dependabot.yml | 7 +++++++ renovate.json | 16 ---------------- 2 files changed, 7 insertions(+), 16 deletions(-) create mode 100644 .github/dependabot.yml delete mode 100644 renovate.json 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/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" - ] -} From 9383ac5d3f5947323e110a32b359e73edddc4cab Mon Sep 17 00:00:00 2001 From: Sam Maister Date: Wed, 21 Feb 2024 01:02:39 +0000 Subject: [PATCH 2/3] ci: update actions, node & pnpm versions --- .github/workflows/ci.yml | 12 ++++++------ .github/workflows/publish.yml | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) 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: From 82ffb1c3da0adc9c6fc1bc8964e99e78e51d8b49 Mon Sep 17 00:00:00 2001 From: Sam Maister Date: Wed, 21 Feb 2024 01:02:49 +0000 Subject: [PATCH 3/3] chore: update node to v18 --- .nvmrc | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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" ] }