This commit is contained in:
@@ -15,7 +15,7 @@ steps:
|
||||
image: *git_image
|
||||
commands: |
|
||||
pwd
|
||||
ls
|
||||
ls -als
|
||||
rm -rf dist
|
||||
rm -f ${CI_WORKSPACE}/version.env
|
||||
echo "✅ Nettoyage terminé"
|
||||
@@ -26,7 +26,7 @@ steps:
|
||||
image: *git_image
|
||||
commands: |
|
||||
pwd
|
||||
ls
|
||||
ls -als
|
||||
COMMIT_MSG=$(git log -1 --pretty=%B)
|
||||
echo "📝 Message: $COMMIT_MSG"
|
||||
|
||||
@@ -49,6 +49,8 @@ steps:
|
||||
- name: update_version
|
||||
image: *node_image
|
||||
commands: |
|
||||
pwd
|
||||
ls -als
|
||||
npm ci --cache .npm --prefer-offline
|
||||
source ${CI_WORKSPACE}/version.env
|
||||
|
||||
@@ -71,6 +73,8 @@ steps:
|
||||
- name: build
|
||||
image: *node_image
|
||||
commands: |
|
||||
pwd
|
||||
ls -als
|
||||
npm ci --cache .npm --prefer-offline
|
||||
npm run build
|
||||
depends_on: [ update_version ]
|
||||
@@ -79,6 +83,8 @@ steps:
|
||||
- name: package
|
||||
image: *node_image
|
||||
commands: |
|
||||
pwd
|
||||
ls -als
|
||||
source ${CI_WORKSPACE}/version.env
|
||||
|
||||
if [ "$version_type" != "none" ]; then
|
||||
|
||||
Reference in New Issue
Block a user