diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index da0583d..4eabedd 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -12,7 +12,7 @@ on: - completed jobs: - draft-release: + publish-release: name: 📋 publish release if: ${{ github.event.workflow_run.conclusion == 'success' }} runs-on: ubuntu-latest @@ -27,7 +27,7 @@ jobs: fetch-depth: 0 - uses: asdf-vm/actions/install@v3 - run: npm clean-install - - run: npx semantic-release --dry-run + - run: npx semantic-release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/quality-checks.yml b/.github/workflows/quality-checks.yml index fbf6193..9cc3db1 100644 --- a/.github/workflows/quality-checks.yml +++ b/.github/workflows/quality-checks.yml @@ -25,3 +25,22 @@ jobs: - uses: asdf-vm/actions/install@v3 - run: make init - run: make test/coverage + + dry-run-release: + name: 📋 dry run release + runs-on: ubuntu-latest + permissions: + contents: write + issues: write + pull-requests: write + id-token: write + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - uses: asdf-vm/actions/install@v3 + - run: npm clean-install + - run: npx semantic-release --dry-run + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }}