mirror of
https://github.com/renovatebot/github-action.git
synced 2025-12-16 17:02:36 +00:00
feat(ci): auto release (#53)
* feat(ci): allow auto release * chore(ci): simplify release * chore: apply suggestions from code review
This commit is contained in:
parent
1dd736bd72
commit
6cef3bd05f
5 changed files with 94 additions and 56 deletions
18
package.json
18
package.json
|
|
@ -1,24 +1,23 @@
|
|||
{
|
||||
"name": "github-action",
|
||||
"version": "1.0.5",
|
||||
"version": "0.0.0-PLACEHOLDER",
|
||||
"description": "GitHub Action to run Renovate self-hosted.",
|
||||
"private": true,
|
||||
"main": "dist/index.js",
|
||||
"scripts": {
|
||||
"build:dist": "cd src && ncc build ./index.ts -o ../dist",
|
||||
"build": "cd src && ncc build ./index.ts -o ../dist",
|
||||
"format": "prettier --write \"**/*.{js,jsx,vue,ts,css,less,scss,html,htm,json,md,markdown,yml,yaml}\"",
|
||||
"format:file": "prettier --write",
|
||||
"git:dist": "git add -f dist",
|
||||
"lint": "concurrently npm:lint-es",
|
||||
"lint:fix": "concurrently npm:lint-es:fix",
|
||||
"lint-es": "eslint --ext .ts,.tsx,.js,.jsx,.json .",
|
||||
"lint-es:file": "eslint --ext .ts,.tsx,.js,.jsx,.json",
|
||||
"lint-es:fix": "eslint --ext .ts,.tsx,.js,.jsx,.json --fix .",
|
||||
"lint-es:file:fix": "eslint --ext .ts,.tsx,.js,.jsx,.json --fix",
|
||||
"format": "prettier --write \"**/*.{js,jsx,vue,ts,css,less,scss,html,htm,json,md,markdown,yml,yaml}\"",
|
||||
"format:file": "prettier --write",
|
||||
"release:version": "next-standard-version",
|
||||
"release:changelog": "standard-version --dry-run --skip.commit=true --skip.tag=true",
|
||||
"release:commit": "git commit --allow-empty -m \"chore(release): trigger release process [ci release]\"",
|
||||
"release:message": "chalk -t \"Run {green.bold git push} to publish the release or {red.bold git reset HEAD^} to undo the release.\"",
|
||||
"release": "run-s release:changelog release:commit release:message",
|
||||
"build": "tsc"
|
||||
"start": "run-s build:dist && node dist",
|
||||
"version": "run-s build:* git:*"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
@ -40,6 +39,7 @@
|
|||
"@types/node": "13.13.4",
|
||||
"@typescript-eslint/eslint-plugin": "2.31.0",
|
||||
"@typescript-eslint/parser": "2.31.0",
|
||||
"@zeit/ncc": "0.22.1",
|
||||
"chalk-cli": "4.1.0",
|
||||
"concurrently": "5.2.0",
|
||||
"eslint": "6.8.0",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue