Skip to content

version update and auto-release #24

version update and auto-release

version update and auto-release #24

Workflow file for this run

name: version update and auto release
run-name: version update and auto-release
on:
push:
branches:
- main
jobs:
version-bump-up:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: install node
uses: actions/setup-node@v3
with:
node-version: "20.x"
persist-credentials: false
token: ${{secrets.GITHUB_TOKEN}}
- name: Install Yarn
run: npm install -g yarn@latest
- name: install dependencies
run: |

Check failure on line 28 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / version update and auto release

Invalid workflow file

The workflow is not valid. .github/workflows/release.yml (Line: 28, Col: 14): Unrecognized named-value: 'yarn'. Located at position 1 within expression: yarn version
yarn
echo "${{yarn version}}"
- name: set up git and authenticate
run: |
git config --global user.email "[email protected]"
git config --global user.name "shrilakshmishastry"
- name: version bump up
run: |
yarn version patch
cat package.json
- name: rise PR and merge
uses: peter-evans/create-pull-request@v3
with:
token: ${{secrets.GITHUB_TOKEN}}
commit-message: "Automated pull request creation"
title: "Update the main branch"
body: "Automatically updating the main branch via GitHub Actions"
branch: main
base: main
- name: push changes and create the tag
run: |
git push --tags