Skip to content

Commit 8bf8acf

Browse files
committed
ci: fix build
1 parent 6a2f280 commit 8bf8acf

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

.github/actions/release/action.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,14 @@ runs:
1919
shell: bash
2020
run: npm whoami
2121

22+
- name: Build Headless Kit
23+
shell: bash
24+
run: npx nx build headless
25+
26+
- name: Replace utils version in package.json
27+
shell: bash
28+
run: pnpm update.version
29+
2230
- name: Version
2331
env:
2432
NODE_AUTH_TOKEN: ${{ inputs.npm_token }}

packages/kit-headless/project.json

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
"releaseAs": "patch"
4040
}
4141
},
42+
4243
"version": {
4344
"executor": "@jscutlery/semver:version",
4445
"options": {
@@ -51,20 +52,10 @@
5152
"noVerify": true,
5253
"push": true,
5354
"releaseAs": "patch",
54-
"postTargets": [
55-
"headless:update-utils-version",
56-
"headless:publish",
57-
"headless:push-to-github"
58-
]
59-
}
60-
},
61-
"update-utils-version": {
62-
"executor": "nx:run-commands",
63-
"options": {
64-
"parallel": false,
65-
"command": "pnpm update.version"
55+
"postTargets": ["headless:publish", "headless:push-to-github"]
6656
}
6757
},
58+
6859
"publish": {
6960
"executor": "ngx-deploy-npm:deploy",
7061
"options": {

packages/utils/project.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
"publish": {
5252
"executor": "ngx-deploy-npm:deploy",
5353
"options": {
54+
"noBuild": true,
5455
"access": "public"
5556
}
5657
},

0 commit comments

Comments
 (0)