Skip to content

Commit

Permalink
fix(actions): Stop versioning actions
Browse files Browse the repository at this point in the history
  • Loading branch information
TriPSs committed Feb 9, 2024
1 parent ba61555 commit 6144f8e
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 28 deletions.
15 changes: 4 additions & 11 deletions actions/plan/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,6 @@
"sourceRoot": "packages/core/src",
"projectType": "library",
"targets": {
"version": {
"executor": "@jscutlery/semver:version",
"dependsOn": [
"compile",
"commit"
],
"options": {
"versionTagPrefix": "${target}@"
}
},
"compile": {
"executor": "nx:run-commands",
"options": {
Expand All @@ -22,8 +12,11 @@
]
}
},
"commit": {
"publish": {
"executor": "nx:run-commands",
"dependsOn": [
"compile"
],
"options": {
"commands": [
"git add ./actions/plan/dist -f || true",
Expand Down
15 changes: 4 additions & 11 deletions actions/run-many/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,6 @@
"sourceRoot": "packages/core/src",
"projectType": "library",
"targets": {
"version": {
"executor": "@jscutlery/semver:version",
"dependsOn": [
"compile",
"commit"
],
"options": {
"versionTagPrefix": "${target}@"
}
},
"compile": {
"executor": "nx:run-commands",
"options": {
Expand All @@ -22,8 +12,11 @@
]
}
},
"commit": {
"publish": {
"executor": "nx:run-commands",
"dependsOn": [
"compile"
],
"options": {
"commands": [
"git add ./actions/run-many/dist -f || true",
Expand Down
19 changes: 13 additions & 6 deletions actions/set-shas/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,26 @@
"sourceRoot": "packages/core/src",
"projectType": "library",
"targets": {
"version": {
"executor": "@jscutlery/semver:version",
"options": {
"versionTagPrefix": "${target}@"
}
},
"compile": {
"executor": "nx:run-commands",
"options": {
"commands": [
"npx ncc build ./actions/set-shas/src/set-shas.ts --out ./actions/set-shas/dist"
]
}
},
"publish": {
"executor": "nx:run-commands",
"dependsOn": [
"compile"
],
"options": {
"commands": [
"git add ./actions/set-shas/dist -f || true",
"git commit -m 'chore(actions-set-shas): Add dist' || true"
],
"parallel": false
}
}
},
"tags": []
Expand Down

0 comments on commit 6144f8e

Please sign in to comment.