From 6a1b677f40888cfea5c26a91e3c51fe6d7c341f4 Mon Sep 17 00:00:00 2001 From: Aditya Bisht Date: Tue, 3 Sep 2024 18:43:53 +0530 Subject: [PATCH] fix: build index.node in publish.yaml --- .github/workflows/publish.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index a6b2d77..38390c5 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -2,7 +2,7 @@ name: Publish on: push: - branches: ['main'] + branches: ["main"] permissions: write-all @@ -10,8 +10,7 @@ jobs: qemu: runs-on: ubuntu-latest steps: - - - name: Set up QEMU + - name: Set up QEMU uses: docker/setup-qemu-action@v3 build: strategy: @@ -33,7 +32,9 @@ jobs: components: rustfmt, clippy - name: Install dependencies run: npm install + - name: Build + run: npm run build-release - name: Publish binaries run: npm run upload-binary env: - NODE_PRE_GYP_GITHUB_TOKEN: ${{ secrets.TOKEN_GITHUB }} \ No newline at end of file + NODE_PRE_GYP_GITHUB_TOKEN: ${{ secrets.TOKEN_GITHUB }}