Skip to content

Commit

Permalink
fix: release pipeline (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
nacho-vazquez authored Mar 2, 2024
1 parent 2a3b3ef commit 50b3d3a
Showing 1 changed file with 26 additions and 9 deletions.
35 changes: 26 additions & 9 deletions packages/nx-cloudflare/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,36 @@
]
}
},
"publish": {
"command": "node tools/scripts/publish.mjs nx-cloudflare {args.ver} {args.tag}",
"dependsOn": ["build"]
"version": {
"dependsOn": ["build"],
"executor": "@jscutlery/semver:version",
"options": {
"preset": "conventional",
"tagPrefix": "v",
"noVerify": true,
"push": true,
"preid": "beta",
"syncVersions": false,
"commitMessageFormat": "release(${projectName}): 🎸 cut release to ${version}",
"postTargets": ["nx-cloudflare:github", "nx-cloudflare:npm-publish"]
}
},
"lint": {
"executor": "@nx/eslint:lint"
"github": {
"executor": "@jscutlery/semver:github",
"options": {
"tag": "${tag}",
"notes": "${notes}"
}
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"npm-publish": {
"executor": "ngx-deploy-npm:deploy",
"options": {
"jestConfig": "packages/nx-cloudflare/jest.config.ts"
"access": "public"
}
},
"publish": {
"command": "node tools/scripts/publish.mjs nx-cloudflare {args.ver} {args.tag}",
"dependsOn": ["build"]
}
},
"tags": ["scope:public", "type:plugin"]
Expand Down

0 comments on commit 50b3d3a

Please sign in to comment.