Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build dev #483

Merged
merged 1 commit into from
Oct 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading