Skip to content

Commit

Permalink
ci: testing release plain on dry-run
Browse files Browse the repository at this point in the history
  • Loading branch information
juancarlosjr97 committed Feb 10, 2024
1 parent 4d4ce31 commit f2cdc22
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,17 @@ jobs:
uses: actions/checkout@v4
- name: Build the Image
run: docker build . --tag ghcr.io/${{ github.repository }}:${{ github.sha }}
- name: Running release-it on dry-run
run: |
docker run \
-e GIT_EMAIL=${GIT_EMAIL} \
-e GIT_USERNAME=${GIT_USERNAME} \
-e GITHUB_TOKEN=${GITHUB_TOKEN} \
-e RELEASE_IT_PLUGINS="@release-it/conventional-changelog@latest" \
-v $(pwd):/app \
ghcr.io/${{ github.repository }}:${{ github.sha }} \
release-it --dry-run
env:
GIT_EMAIL: ${{ vars.GIT_EMAIL }}
GIT_USERNAME: ${{ vars.GIT_USERNAME }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit f2cdc22

Please sign in to comment.