From be7550675d7f064a4ac310f6dd5d7f1774da4abb Mon Sep 17 00:00:00 2001 From: Divyansh Singh <40380293+brc-dd@users.noreply.github.com> Date: Sun, 1 Dec 2024 22:55:00 +0530 Subject: [PATCH] ci: update publish script --- .github/workflows/publish.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 72a323d..5e0fd35 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -13,14 +13,11 @@ jobs: id-token: write steps: - uses: actions/checkout@v4 - - uses: pnpm/action-setup@v4 - uses: actions/setup-node@v4 with: node-version: 20 - cache: pnpm - registry-url: https://registry.npmjs.org - uses: denoland/setup-deno@v2 - run: deno task build --minify ${GITHUB_REF#refs/tags/v} - - run: cd dist && pnpm publish --access public + - run: cd dist && npm publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}