From 84432472255c814bb58ae9aae1408a06e971bef7 Mon Sep 17 00:00:00 2001 From: arihanv Date: Mon, 10 Jun 2024 23:04:30 -0500 Subject: [PATCH] update: workflow --- .github/workflows/npm-publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 32258e2..9f7145c 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -16,11 +16,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: oven-sh/setup-bun@v1 - uses: actions/setup-node@v3 with: node-version: '20.x' registry-url: https://registry.npmjs.org/ + - uses: oven-sh/setup-bun@v1 - name: 'Automated Version Bump' id: version-bump @@ -31,6 +31,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} - run: bun install - run: bun run build - - run: bun run publish + - run: npm publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}