diff --git a/.github/workflows/npm_publish.yml b/.github/workflows/npm_publish.yml index 49cb44e..16c2ae2 100644 --- a/.github/workflows/npm_publish.yml +++ b/.github/workflows/npm_publish.yml @@ -22,7 +22,11 @@ jobs: - name: Install dependencies run: yarn install --immutable + - name: Authentication + run: | + echo npmAuthToken: "$NODE_AUTH_TOKEN" >> ./.yarnrc.yml + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + - name: Check package versions and publish run: yarn publish - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}