Skip to content

Commit

Permalink
Merge pull request #59 from Geoportail-Luxembourg/workflow-lib
Browse files Browse the repository at this point in the history
GSLUX-635: Add workflow step to build and tag lib
  • Loading branch information
tkohr authored Aug 10, 2023
2 parents ec22f79 + d7c300c commit 50a92e7
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,19 @@ jobs:
cache: 'npm'
- run: npm ci

- name: Build library and increment version tag (only on merge)
if: github.event_name != 'pull_request'
shell: bash
run: |
npm run build:lib:prod
npm version patch
git config user.name github-actions
git config user.email github-actions@github.com
git add .
git commit -m "chore(lib): npm run build:lib:prod"
git push
git push --tags
- name: Get branch name (merge)
if: github.event_name != 'pull_request'
shell: bash
Expand Down

0 comments on commit 50a92e7

Please sign in to comment.