Skip to content

Commit

Permalink
feat: pull before push
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomgrus committed Dec 10, 2021
1 parent 113f4e7 commit a2cb61a
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,14 @@ jobs:
working-directory: ./code/api
run: test -e package.json || echo '{}' > package.json

-
name: Add pre-push hook for semantic release git
run: |
cat << EOF > .git/hooks/pre-push
#!/bin/bash
git pull
EOF
- name: Semantic Release
uses: Thomgrus/semantic-release-action@feat/add-working-dir
with:
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/build-web-ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,14 @@ jobs:
languages: javascript
config-file: ./.github/codeql/codeql-web-ui-config.yml

-
name: Add pre-push hook for semantic release git
run: |
cat << EOF > .git/hooks/pre-push
#!/bin/bash
git pull
EOF
- name: Semantic Release
uses: Thomgrus/semantic-release-action@feat/add-working-dir
with:
Expand Down
4 changes: 2 additions & 2 deletions code/web-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ara-client",
"version": "1.0.0",
"name": "ara-web-ui",
"version": "9.4.0",
"description": "Agile Regression Analyzer front app",
"author": "Decathlon <developers@decathlon.com>",
"private": true,
Expand Down

0 comments on commit a2cb61a

Please sign in to comment.