diff --git a/.github/workflows/release-beta.yml b/.github/workflows/release-beta.yml index beb3a62..171e0e6 100644 --- a/.github/workflows/release-beta.yml +++ b/.github/workflows/release-beta.yml @@ -8,8 +8,8 @@ on: jobs: publish: runs-on: ubuntu-latest - environment: - name: Beta +# environment: +# name: Beta steps: - name: Checkout code uses: actions/checkout@v4 @@ -29,16 +29,20 @@ jobs: run: | yarn run build npm version prerelease --preid=beta - npm publish --tag beta + npm publish --tag beta --dry-run env: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - - - name: Commit and push - uses: actions/setup-git@v1 - run: | - git config user.name "GitHub Actions" - git config user.email "github-actions@github.com" - git add . - git commit -m "Bump version and publish beta package" - git push origin HEAD:beta +# +# - name: Prepare Git +# uses: actions/checkout@v4 +# with: +# persist-credentials: false +# +# - name: Push changes +# run: | +# git config user.name "GitHub Actions" +# git config user.email "github-actions@github.com" +# git add . +# git commit -m "Bump version and publish beta package" +# git push origin HEAD:beta