diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a2e73e4..276542d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,9 +2,10 @@ name: CI on: pull_request: - types: [opened, synchronize, reopened, ready_for_review] + types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled] + merge_group: push: - branches: [next] + branches: [main] schedule: - cron: "17 2 * * *" workflow_dispatch: @@ -22,12 +23,16 @@ jobs: docs-typescript-project: docs/tsconfig.json renovate-sync: false test-job: true + affected-tests: true permissions: contents: read + secrets: + NOTION_TOKEN: ${{ secrets.NOTION_TOKEN }} renovate-sync: if: >- github.event_name == 'pull_request' && startsWith(github.head_ref, 'renovate/') && github.event.pull_request.head.repo.full_name == github.repository permissions: contents: write actions: write + statuses: write uses: AntelopeJS/.github/.github/workflows/ci-renovate-sync.yml@v2 diff --git a/.github/workflows/next-sync.yml b/.github/workflows/next-sync.yml deleted file mode 100644 index 2a1228b..0000000 --- a/.github/workflows/next-sync.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: Next sync - -on: - push: - branches: [main] - -permissions: {} - -jobs: - next-sync: - permissions: - issues: write - uses: AntelopeJS/.github/.github/workflows/next-sync.yml@v2 - secrets: - RELEASE_GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }} - NOTION_TOKEN: ${{ secrets.NOTION_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 85dc9fa..0b6f68a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,7 +2,9 @@ name: Release on: push: - branches: [next] + branches: [main] + pull_request: + types: [labeled, synchronize, reopened] workflow_dispatch: inputs: release-version: diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml deleted file mode 100644 index ba4ba7c..0000000 --- a/.github/workflows/stale.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: Close stale issues - -on: - schedule: - - cron: "30 3 * * *" - workflow_dispatch: - -permissions: {} - -jobs: - stale: - uses: AntelopeJS/.github/.github/workflows/stale.yml@v2 - permissions: - actions: write - issues: write - pull-requests: write diff --git a/package.json b/package.json index fb5d42b..34fd034 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "@antelopejs/core": "~1.23.3", "@antelopejs/interface-api": ">=0.3.3 <0.4.0", "@antelopejs/interface-core": ">=0.5.1 <0.6.0", - "@antelopejs/tooling-configs": ">=0.8.0 <0.9.0", + "@antelopejs/tooling-configs": ">=0.8.9 <0.9.0", "@types/mocha": "^10.0.10", "@types/node": "^22.19.15", "eslint-plugin-perfectionist": "^5.11.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ad37f8f..df9a141 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -24,8 +24,8 @@ importers: specifier: '>=0.5.1 <0.6.0' version: 0.5.1 '@antelopejs/tooling-configs': - specifier: '>=0.8.0 <0.9.0' - version: 0.8.0(eslint-plugin-perfectionist@5.11.0(eslint@10.10.0(jiti@2.7.0))(typescript@5.9.3))(knip@6.34.0)(oxfmt@0.77.0)(oxlint@1.81.0(oxlint-tsgolint@7.0.2001)) + specifier: '>=0.8.9 <0.9.0' + version: 0.8.9(eslint-plugin-perfectionist@5.11.0(eslint@10.10.0(jiti@2.7.0))(typescript@5.9.3))(knip@6.34.0)(oxfmt@0.77.0)(oxlint@1.81.0(oxlint-tsgolint@7.0.2001)) '@types/mocha': specifier: ^10.0.10 version: 10.0.10 @@ -86,8 +86,8 @@ packages: '@antelopejs/interface-core@0.5.1': resolution: {integrity: sha512-ON/7TYA1yyT8UznzKi6vnwyjRU3byNE0OcFXBmf8dE/dqp8hKjeWHVyA2EUPOngmEimCLw4idZqOS5DJqMJx3g==} - '@antelopejs/tooling-configs@0.8.0': - resolution: {integrity: sha512-o2sec/CFUH//QtXUjGpbeFp0D/QI0H5+59nDoihgz4biEE2D5Z+o1r69yY9c7cRyOY1nnFxiHluuhKoylasc1g==} + '@antelopejs/tooling-configs@0.8.9': + resolution: {integrity: sha512-DMar3gDUBy73qpAqv8coGCmvIBrZ12FtyYwD+Igqn6jrb92GMxZAuI2YlW9pED9tS3tdk17+aZRIyVO0oDacHA==} engines: {node: '>=22.18.0'} hasBin: true peerDependencies: @@ -95,8 +95,8 @@ packages: eslint-plugin-perfectionist: '>=5.0.0' knip: '>=6.0.0' mongodb-memory-server: '>=10.0.0' - oxfmt: ^0.66.0 || ^0.77.0 - oxlint: 1.81.0 + oxfmt: ^0.66.0 || ^0.77.0 || ^0.79.0 + oxlint: 1.81.0 || 1.94.0 pixelmatch: '>=7.0.0' playwright-core: '>=1.56.0' sharp: '>=0.34.0' @@ -872,8 +872,8 @@ packages: cpu: [x64] os: [win32] - '@oxlint/plugins@1.81.0': - resolution: {integrity: sha512-HhD8kd3r6XpelZkhxhRty/po8V6yK1VV63Eq4kSsOS2IoHUywG3DV2EX+z/ZHw46aLI74Y6aA604NRiAqLKW9w==} + '@oxlint/plugins@1.94.0': + resolution: {integrity: sha512-YT6htikBOBQ00XDxZpRZLZ0anEDo7h9s4+YvjRU0/Ng/cLd0D6SZQ3tsms4g/GDer/z8UKlegC5iptEfyRXJcw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} '@phun-ky/typeof@2.0.3': @@ -2654,9 +2654,9 @@ snapshots: dependencies: reflect-metadata: 0.2.2 - '@antelopejs/tooling-configs@0.8.0(eslint-plugin-perfectionist@5.11.0(eslint@10.10.0(jiti@2.7.0))(typescript@5.9.3))(knip@6.34.0)(oxfmt@0.77.0)(oxlint@1.81.0(oxlint-tsgolint@7.0.2001))': + '@antelopejs/tooling-configs@0.8.9(eslint-plugin-perfectionist@5.11.0(eslint@10.10.0(jiti@2.7.0))(typescript@5.9.3))(knip@6.34.0)(oxfmt@0.77.0)(oxlint@1.81.0(oxlint-tsgolint@7.0.2001))': dependencies: - '@oxlint/plugins': 1.81.0 + '@oxlint/plugins': 1.94.0 dts-bundle-generator: 9.5.1 minimatch: 10.2.6 semver: 7.8.6 @@ -3242,7 +3242,7 @@ snapshots: '@oxlint/binding-win32-x64-msvc@1.81.0': optional: true - '@oxlint/plugins@1.81.0': {} + '@oxlint/plugins@1.94.0': {} '@phun-ky/typeof@2.0.3': {}