Skip to content

Commit

Permalink
Merge branch 'main' into beta
Browse files Browse the repository at this point in the history
  • Loading branch information
killerchip committed Mar 22, 2024
2 parents 6c752aa + f48c1ff commit d4d9853
Showing 1 changed file with 16 additions and 12 deletions.
28 changes: 16 additions & 12 deletions .github/workflows/release-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 "[email protected]"
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 "[email protected]"
# git add .
# git commit -m "Bump version and publish beta package"
# git push origin HEAD:beta

0 comments on commit d4d9853

Please sign in to comment.