Skip to content

Commit

Permalink
implement 11.15 Adding versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
devserkan committed Sep 13, 2024
1 parent 74045be commit ecd8563
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
15 changes: 14 additions & 1 deletion .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,17 @@ jobs:
- name: Build
run: npm run build
- name: Test
run: npm run test
run: npm run test
tag_release:
if: ${{ github.event_name == 'push' }}
needs: [simple_deployment_pipeline]
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: '0'
- name: Bump version and push tag
uses: anothrNick/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DEFAULT_BUMP: patch
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const app = express()
const PORT = process.env.PORT || 5001

app.get('/version', (req, res) => {
res.send('6')
res.send('7')
})

app.get('/health', (req, res) => {
Expand Down

0 comments on commit ecd8563

Please sign in to comment.