From 11f715510263ce42371484c3b421493f2a4c69e7 Mon Sep 17 00:00:00 2001 From: Julien Calixte Date: Sun, 22 Feb 2026 22:19:41 +0100 Subject: [PATCH] ci: install remanso CLI from npm instead of building from source --- action.yml | 31 ++----------------------------- 1 file changed, 2 insertions(+), 29 deletions(-) diff --git a/action.yml b/action.yml index 9cb16d7..9f839cc 100644 --- a/action.yml +++ b/action.yml @@ -31,36 +31,9 @@ inputs: runs: using: 'composite' steps: - - name: Setup Bun - uses: oven-sh/setup-bun@v2 - - - name: Cache dependencies - id: deps-cache - uses: actions/cache@v4 - with: - path: ${{ github.action_path }}/node_modules - key: remanso-deps-${{ runner.os }}-${{ hashFiles(format('{0}/bun.lock', github.action_path)) }} - - - name: Install dependencies - if: steps.deps-cache.outputs.cache-hit != 'true' - shell: bash - run: cd ${{ github.action_path }} && bun install - - - name: Cache build artifacts - id: build-cache - uses: actions/cache@v4 - with: - path: ${{ github.action_path }}/packages/remanso/dist - key: remanso-build-${{ runner.os }}-${{ hashFiles(format('{0}/bun.lock', github.action_path), format('{0}/packages/remanso/src/**', github.action_path)) }} - - - name: Build CLI - if: steps.build-cache.outputs.cache-hit != 'true' - shell: bash - run: cd ${{ github.action_path }} && bun run build:remanso - - - name: Link CLI + - name: Install remanso CLI shell: bash - run: cd ${{ github.action_path }} && bun link --cwd packages/remanso + run: npm install -g remanso-cli - name: Sync state from ATProtocol shell: bash -- 2.54.0