From 6f01d195403bac74eccfe2ee68e14e7151217769 Mon Sep 17 00:00:00 2001 From: Shahe Islam Date: Wed, 20 May 2026 18:13:56 +0100 Subject: [PATCH] ci: update homebrew tap before npm publish --- .github/workflows/publish-ocv.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/publish-ocv.yml b/.github/workflows/publish-ocv.yml index 26149f8a37ac..60dce962a57b 100644 --- a/.github/workflows/publish-ocv.yml +++ b/.github/workflows/publish-ocv.yml @@ -163,17 +163,6 @@ jobs: env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - uses: actions/setup-node@v4 - with: - node-version: "24" - registry-url: "https://registry.npmjs.org" - - - name: Publish npm package - run: bun run packages/opencode/script/publish-ocv-npm.ts - env: - OPENCODE_VERSION: ${{ inputs.version }} - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - - name: Compute checksums id: sum shell: bash @@ -247,3 +236,14 @@ jobs: fi git -c user.name="github-actions[bot]" -c user.email="41898282+github-actions[bot]@users.noreply.github.com" commit -m "Update ocv formula v${{ inputs.version }}" git push + + - uses: actions/setup-node@v4 + with: + node-version: "24" + registry-url: "https://registry.npmjs.org" + + - name: Publish npm package + run: bun run packages/opencode/script/publish-ocv-npm.ts + env: + OPENCODE_VERSION: ${{ inputs.version }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}