diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 270fcdc5..6c00e32b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,6 +20,11 @@ jobs: with: ref: main - uses: oven-sh/setup-bun@v1 + uses: actions/setup-node@v3 + with: + node-version: 20 + registry-url: "https://npm.pkg.github.com" + scope: "@trustwallet" - name: Set output id: vars run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT @@ -31,7 +36,7 @@ jobs: npm version ${{ github.event.inputs.version || steps.vars.outputs.tag }} bun run publish env: - NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} + NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} permissions: actions: write contents: write