From 86a3332e58d94af305f8fe5f7b13d3aa4c3be54b Mon Sep 17 00:00:00 2001 From: Ankur Datta <64993082+ankur-arch@users.noreply.github.com> Date: Thu, 14 Nov 2024 14:41:04 +0600 Subject: [PATCH] fix(custom): update github actions --- .github/workflows/publish.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 24f95f2..99ab40c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -21,6 +21,9 @@ jobs: - uses: actions/setup-node@v4 with: node-version: "lts/*" + - name: Configure npm for Authentication + run: | + echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_NUXT_TOKEN }}" >> ~/.npmrc - run: npm clean-install - run: npx nuxi prepare - run: npm run dev:build @@ -29,5 +32,4 @@ jobs: - name: Release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_NUXT_TOKEN }} run: npm run release