From e98b94c85a177f835782ec2e365ccb25c1176eb1 Mon Sep 17 00:00:00 2001 From: Cristiano Tofani Date: Thu, 20 Jul 2023 10:02:48 +0200 Subject: [PATCH] fix token not found --- .github/workflows/github-release.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/github-release.yml b/.github/workflows/github-release.yml index 205b1054..5d658fea 100644 --- a/.github/workflows/github-release.yml +++ b/.github/workflows/github-release.yml @@ -18,6 +18,4 @@ jobs: - name: Install dependencies and build with builder bob run: yarn install --frozen-lockfile - name: Publish Package - run: yarn publish - env: - NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" > ~/.npmrc && yarn publish \ No newline at end of file