Skip to content

Commit

Permalink
Change complier (#17)
Browse files Browse the repository at this point in the history
* moved to es2021

* moved to es2021

* fix

* .

* .

* .

* .

* /
  • Loading branch information
avichai-sealights authored Sep 1, 2024
1 parent a631064 commit 8423d65
Showing 1 changed file with 23 additions and 5 deletions.
28 changes: 23 additions & 5 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,6 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.SLDEVOPSD_PAT }}

- name: Bump version
run: |
npm version patch -m "Bump version to %s"
git push
git push --tags
- name: Output user info
run: |
echo "Response: ${{ fromJson(steps.get_user.outputs.data) }}"
Expand All @@ -101,6 +96,29 @@ jobs:
npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Configure Git
run: |
git config user.name github-actions
git config user.email [email protected]
env:
GITHUB_TOKEN: ${{ secrets.SLDEVOPSD_PAT }}
- name: Create Release Branch
run: |
git checkout -b release-${{ github.sha }}
npm version patch -m "Bump version to %s"
git push origin release-${{ github.sha }}
env:
GITHUB_TOKEN: ${{ secrets.SLDEVOPSD_PAT }}
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
title: 'Bump version'
body: 'Automated version bump'
branch: release-${{ github.sha }}
base: main
env:
GITHUB_TOKEN: ${{ secrets.SLDEVOPSD_PAT }}
- name: Push changes
run: |
git push --follow-tags
Expand Down

0 comments on commit 8423d65

Please sign in to comment.