From 4b75645d43e97d36c0836ee7a3a2d8b37d7bd863 Mon Sep 17 00:00:00 2001 From: Mauro Balades Date: Mon, 13 May 2024 20:27:08 +0200 Subject: [PATCH] Merge --- .github/workflows/alpha.yml | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/.github/workflows/alpha.yml b/.github/workflows/alpha.yml index 0b9ffa067..2ac71d891 100644 --- a/.github/workflows/alpha.yml +++ b/.github/workflows/alpha.yml @@ -103,13 +103,30 @@ jobs: version: 8 run_install: false + - name: Get pnpm store directory + id: pnpm-cache + shell: bash + run: | + echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT + + - uses: actions/cache@v3 + name: Setup pnpm cache + with: + path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} + key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} + restore-keys: | + ${{ runner.os }}-pnpm-store- + - name: Install dependencies run: pnpm install - - name: Get version - id: data - shell: bash + - name: Setup gluon run: | + npm i -g gluon-build@next + + - name: Check version + run: | + ls . echo "version=$(pnpm gluon get version | xargs)" >> $GITHUB_OUTPUT if [[ $(pnpm gluon get version | xargs) == ${{ needs.build-data.outputs.version }} ]]; then echo "Version matches"