diff --git a/.github/workflows/release-dev.yml b/.github/workflows/dev-build.yml similarity index 84% rename from .github/workflows/release-dev.yml rename to .github/workflows/dev-build.yml index e980fd45..6ded4a47 100644 --- a/.github/workflows/release-dev.yml +++ b/.github/workflows/dev-build.yml @@ -20,13 +20,14 @@ 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: | @@ -34,10 +35,6 @@ jobs: 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 @@ -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