Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update GitHub Actions Workflows for Release Management (#3) #4

Merged
merged 1 commit into from
Sep 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
- run: npm ci
- run: npm test

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/semver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,9 @@ jobs:
git commit -m "Update package.json version to ${{ steps.get_version.outputs.version }}"
git push https://${{ secrets.PAT_TOKEN }}@github.com/${{ github.repository }}.git HEAD:master

- name: Create and push release branch
run: |
TAG_NAME=${GITHUB_REF#refs/tags/}
RELEASE_BRANCH=release/$TAG_NAME
git checkout -b $RELEASE_BRANCH
git push origin $RELEASE_BRANCH