Skip to content

Commit

Permalink
Merge pull request #89 from ShellyDCMS/auto-bump-pr-versions
Browse files Browse the repository at this point in the history
auto bump version in PR
  • Loading branch information
ShellyDCMS committed May 24, 2024
2 parents e784a95 + 296a441 commit 5a41d1a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/npm-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:

permissions:
checks: write
contents: write
pull-requests: write

jobs:
Expand All @@ -21,6 +22,12 @@ jobs:
node-version: 18.18.2
registry-url: https://registry.npmjs.org/
- run: npx yarn install --frozen-lockfile
- name: "Automated Version Bump"
uses: "phips28/gh-action-bump-version@master"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
version-type: "minor"
- run: npm run build
- run: npm run cy:run
- run: npm run generate-md-docs
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ on:
workflow_dispatch:
permissions:
checks: write
contents: write
jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -20,12 +19,6 @@ jobs:
node-version: 18
registry-url: https://registry.npmjs.org/
- run: npx yarn install --frozen-lockfile
- name: "Automated Version Bump"
uses: "phips28/gh-action-bump-version@master"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
version-type: "minor"
- run: npm run build
- run: npm run cy:run
- run: npm run generate-md-docs
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@shellygo/cypress-test-utils",
"description": "Cypress Test Automation Utilities",
"version": "2.0.57",
"version": "2.1.0",
"author": "Shelly Goldblit",
"private": false,
"license": "MIT",
Expand Down

0 comments on commit 5a41d1a

Please sign in to comment.