diff --git a/.autod.conf.js b/.autod.conf.js deleted file mode 100644 index 288eff06..00000000 --- a/.autod.conf.js +++ /dev/null @@ -1,24 +0,0 @@ -'ues strict'; - -module.exports = { - write: true, - prefix: '^', - devprefix: '^', - exclude: [ - 'test/fixtures', - ], - devdep: [ - 'autod', - 'egg-bin', - 'egg-ci', - 'eslint', - 'eslint-config-egg', - ], - keep: [ - '@types/depd', - '@types/koa', - ], - semver: [ - 'globby@10', - ], -}; diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index c53a21f7..172a9d6a 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -2,13 +2,10 @@ name: CI on: push: - branches: [ master, main ] + branches: [ master ] pull_request: - branches: [ master, main, next, beta, '*.x' ] - - schedule: - - cron: '0 2 * * *' + branches: [ master ] workflow_dispatch: {} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4b6cbea5..16125872 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,6 +1,9 @@ name: Release + on: - # 手动发布 + push: + branches: [ master ] + workflow_dispatch: {} jobs: @@ -9,6 +12,6 @@ jobs: uses: artusjs/github-actions/.github/workflows/node-release.yml@v1 secrets: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - # with: - # checkTest: false - # dryRun: true + GIT_TOKEN: ${{ secrets.GIT_TOKEN }} + with: + checkTest: false