From fe4887f70eca8d431f1b8230190b56012ae88821 Mon Sep 17 00:00:00 2001 From: Gabe Rodriguez Date: Thu, 14 Mar 2024 10:13:59 +0100 Subject: [PATCH] Fix ext publish ci --- .github/workflows/extension-publish.yml | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/.github/workflows/extension-publish.yml b/.github/workflows/extension-publish.yml index f8ecd8f98b..213fd86565 100644 --- a/.github/workflows/extension-publish.yml +++ b/.github/workflows/extension-publish.yml @@ -6,21 +6,24 @@ # https://chrome.google.com/webstore/detail/penumbra-wallet/lkpmkhpnhknhmibgnmmhdhgdilepfghe name: Publish extension +# Temp for testing on: - push: - tags: - - '*-?v[0-9]+*' workflow_call: workflow_dispatch: + pull_request: + push: + branches: + - main jobs: - compile: + turbo-compile: + name: Compile uses: ./.github/workflows/compile-wasm.yml publish: environment: ext-publish runs-on: buildjet-16vcpu-ubuntu-2204 - needs: compile + needs: turbo-compile steps: - uses: actions/checkout@v4 @@ -34,16 +37,12 @@ jobs: node-version: '21' cache: 'pnpm' - run: pnpm install --frozen-lockfile + - uses: dtolnay/rust-toolchain@stable + with: + targets: wasm32-unknown-unknown - run: pnpm turbo telemetry disable - run: pnpm turbo download-keys --force --cache-dir=.turbo - run: pnpm turbo build --cache-dir=.turbo - name: Package up extension run: zip -r dist.zip apps/extension/dist - - name: Upload & release - uses: penumbra-zone/chrome-extension-upload@v1 - with: - file-path: dist.zip - extension-id: lkpmkhpnhknhmibgnmmhdhgdilepfghe - client-id: ${{ secrets.GOOGLE_CLIENT_ID }} - client-secret: ${{ secrets.GOOGLE_CLIENT_SECRET }} - refresh-token: ${{ secrets.GOOGLE_REFRESH_TOKEN }} +