Skip to content

Commit

Permalink
Merge pull request #483 from bartoval/build_dev
Browse files Browse the repository at this point in the history
Build dev
  • Loading branch information
bartoval authored Oct 14, 2024
2 parents c83ac53 + e4b2469 commit 076308e
Showing 1 changed file with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,24 +20,21 @@ jobs:
node-version: '18'
cache: 'yarn'
cache-dependency-path: yarn.lock
cache-path: ~/.cache/yarn

- name: Set env 📋
run: echo "RELEASE_VERSION=dev-${GITHUB_SHA}" >> $GITHUB_ENV # Versione dev basata sul commit SHA
run: echo "RELEASE_VERSION=dev-${GITHUB_SHA}" >> $GITHUB_ENV

- name: Install 📦
run: |
yarn install --immutable --immutable-cache --check-cache --prefer-offline
yarn install --frozen-lockfile
- name: Build 🚧
run: |
yarn build --mode development # Assicurati di avere un comando build per l'ambiente dev
env:
CI: false

- name: Unit tests 🔧
run: |
yarn test
- name: Package 📦
run: |
cd build/ && tar -zcvf ../console-dev.tgz --exclude='./data' . # Crea il tarball per la build dev
Expand All @@ -48,8 +45,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: "dev-${GITHUB_SHA}" # Usa un tag basato sul commit SHA
release_name: "Dev Release ${GITHUB_SHA}"
release_name: "dev-release"
body: |
Skupper-console (Dev) build is available as a tar ball:
- console-dev.tgz
Expand Down

0 comments on commit 076308e

Please sign in to comment.