From 9b00b2424e553f9e885576d65c89bc71f784d0e9 Mon Sep 17 00:00:00 2001 From: jdabbech-ledger Date: Wed, 28 Aug 2024 10:18:47 +0200 Subject: [PATCH] :green_heart: (snapshot-release): Release without PR creation --- .github/workflows/snapshot_release.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/snapshot_release.yml b/.github/workflows/snapshot_release.yml index 689b5be05..22d4d41fc 100644 --- a/.github/workflows/snapshot_release.yml +++ b/.github/workflows/snapshot_release.yml @@ -20,7 +20,7 @@ env: TAG: ${{ inputs.tag || 'develop' }} jobs: - version: + snapshot: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -35,13 +35,10 @@ jobs: - name: build libraries run: pnpm build - - name: create release pull request or publish - uses: changesets/action@v1 - with: - version: pnpm bump --snapshot ${{ env.TAG }} - publish: pnpm release --no-git-tag - commit: "🔖 (snapshot-release): versioning packages" - title: "🔖 (snapshot-release) [NO-ISSUE]: versioning packages" + - name: create and publish snapshot release version + run: | + pnpm bump --snapshot ${{ env.TAG }} + pnpm release --no-git-tag env: GITHUB_TOKEN: ${{ github.token }} - NPM_TOKEN: ${{ secrets.NPMJS_TOKEN }} + NPM_CONFIG__AUTH: ${{ secrets.NPMJS_TOKEN }}