Skip to content

Commit 108d8ba

Browse files
committed
ci: 🎡 WIP package publishing in CI
1 parent d32aeea commit 108d8ba

File tree

2 files changed

+19
-16
lines changed

2 files changed

+19
-16
lines changed

.github/workflows/changelog.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ jobs:
88
name: Update Release with Changelog
99
runs-on: ubuntu-latest
1010
steps:
11+
- name: ⬇️ Checkout repo
12+
uses: actions/checkout@v3
13+
1114
- name: Create changelog
1215
run: |
1316
echo "CHANGELOG_TEXT=$(npx conventional-changelog-cli -h -p angular -r 0)" >> $GITHUB_ENV

.github/workflows/tag-publish.yml renamed to .github/workflows/publish-release.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,24 @@ on:
55
types: [published]
66

77
jobs:
8-
init:
9-
uses: ./.github/workflows/00-init.yml
8+
# init:
9+
# uses: ./.github/workflows/00-init.yml
1010

11-
test:
12-
uses: ./.github/workflows/01-npm-test.yml
13-
needs: [init]
11+
# test:
12+
# uses: ./.github/workflows/01-npm-test.yml
13+
# needs: [init]
1414

15-
build:
16-
uses: ./.github/workflows/01-build.yml
17-
needs: [init]
15+
# build:
16+
# uses: ./.github/workflows/01-build.yml
17+
# needs: [init]
1818

19-
cypress:
20-
uses: ./.github/workflows/01-cypress.yml
21-
needs: [build]
19+
# cypress:
20+
# uses: ./.github/workflows/01-cypress.yml
21+
# needs: [build]
2222

2323
publishnextnpm:
2424
name: Publish experimental Packages to NPM
25-
needs: [test, cypress]
25+
# needs: [test, cypress]
2626
# Only publish if not on the main branch, the release tag starts with a "v"
2727
# and is flagged as a prerelease
2828
if: |
@@ -44,7 +44,7 @@ jobs:
4444
4545
publishlatestnpm:
4646
name: Publish stable packages to NPM
47-
needs: [test, cypress]
47+
# needs: [test, cypress]
4848
if: github.event.release.target_commitish == 'test-package-publishing' && github.event.release.prerelease == false
4949
runs-on: ubuntu-latest
5050
steps:
@@ -61,12 +61,12 @@ jobs:
6161
echo "Semver stable version unclean $SEMVER_VERSION"
6262
echo "Semver stable version valid $VALID_SEMVER_VERSION"
6363
echo "CHANGELOG_TEXT=$(npx conventional-changelog-cli)" >> $GITHUB_ENV
64-
npm version --no-git-tag-version $VALID_SEMVER_VERSION --workspace=@ci-cd/abcd
64+
npm version --no-git-tag-version 0.0.22 --workspace=@ci-cd/abcd
6565
npm run publish:abcd
6666
6767
publishnextgithub:
6868
name: Publish experimental Packages to GitHub registry
69-
needs: [test, cypress]
69+
# needs: [test, cypress]
7070
# Only publish if not on the main branch, the release tag starts with a "v"
7171
# and is flagged as a prerelease
7272
if: |
@@ -84,7 +84,7 @@ jobs:
8484
8585
publishlatestgithub:
8686
name: Publish stable packages to GitHub registry
87-
needs: [test, cypress]
87+
# needs: [test, cypress]
8888
if: github.event.release.target_commitish == 'test-package-publishing' && github.event.release.prerelease == false
8989
runs-on: ubuntu-latest
9090
steps:

0 commit comments

Comments
 (0)