feat!: drop node 20 support

This commit is contained in:
Kevin Deng
2026-05-02 15:25:04 +09:00
parent 7d87d58072
commit 86de21c36c
4 changed files with 4 additions and 5 deletions

View File

@@ -6,7 +6,7 @@ permissions: {}
jobs: jobs:
release: release:
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
uses: sxzz/workflows/.github/workflows/release-commit.yml@v1 uses: sxzz/workflows/.github/workflows/release-commit.yml@main
with: with:
packages: "'./packages/*'" packages: "'./packages/*'"
compact: true compact: true

View File

@@ -7,7 +7,7 @@ on:
jobs: jobs:
release: release:
uses: sxzz/workflows/.github/workflows/release.yml@v1 uses: sxzz/workflows/.github/workflows/release.yml@main
with: with:
publish: true publish: true
build: pnpm run build build: pnpm run build

View File

@@ -10,4 +10,4 @@ permissions: {}
jobs: jobs:
unit-test: unit-test:
uses: sxzz/workflows/.github/workflows/unit-test.yml@v1 uses: sxzz/workflows/.github/workflows/unit-test.yml@main

View File

@@ -6,8 +6,7 @@ export default defineConfig({
'./packages/babel-plugin-resolve-type', './packages/babel-plugin-resolve-type',
], ],
entry: ['src/index.ts'], entry: ['src/index.ts'],
dts: { oxc: true }, target: 'node22.18',
target: 'node20.19',
platform: 'neutral', platform: 'neutral',
deps: { deps: {
onlyBundle: [], onlyBundle: [],