Skip to content

Commit

Permalink
ci(no-changelog): fixing workflow files
Browse files Browse the repository at this point in the history
  • Loading branch information
programad committed Jun 28, 2024
1 parent 1be54a0 commit 58f90b5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/prepare-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ jobs:
with:
node-version: ${{ env.NODE_VERSION }}

- name: Set NPM config
run: |
npm config set //npm.pkg.github.com/:_authToken ${{ secrets.GITHUB_TOKEN }}
- name: Extract Dependencies
id: extract-dependencies
run: echo "DEPENDENCY_HASH=$(npx --yes @rocketclimb/sh extract-dependencies --registry=https://npm.pkg.github.com)" >> $GITHUB_OUTPUT
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,14 @@ jobs:
git config user.email ${{ env.AUTOMATION_USER_EMAIL }}
- name: Creating Tag ${{ steps.set-tag.outputs.PENDING_TAG }}
if: steps.set-tag.outputs.PENDING_TAG != ''
run: |
git tag --force -a ${{ steps.set-tag.outputs.PENDING_TAG }} -m "${{ steps.set-tag.outputs.PENDING_TAG }}" && git push origin ${{ steps.set-tag.outputs.PENDING_TAG }} --no-verify
- name: Warning about no Pending tag
if: steps.set-tag.outputs.PENDING_TAG == ''
run: echo "No pending tag found. Proceeding with Ignition publishing..."

create-release:
name: Create rocketicons release
runs-on: ubuntu-latest
Expand Down Expand Up @@ -117,9 +122,13 @@ jobs:
with:
node-version: ${{ env.NODE_VERSION }}

- name: Set NPM config
run: |
npm config set //npm.pkg.github.com/:_authToken ${{ secrets.GITHUB_TOKEN }}
- name: Get Dependency Hash
id: get-dependency-hash
run: echo "DEPENDENCY_HASH=$(npx --yes @rocketclimb/sh extract-dependencies)" >> $GITHUB_OUTPUT
run: echo "DEPENDENCY_HASH=$(npx --yes @rocketclimb/sh extract-dependencies --registry=https://npm.pkg.github.com)" >> $GITHUB_OUTPUT

publish-ignition:
name: Publish Ignition without rocketicons release
Expand Down

0 comments on commit 58f90b5

Please sign in to comment.