diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 15f6ccee..a53b6d42 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -19,7 +19,14 @@ jobs: uses: actions/setup-node@v3 with: node-version-file: .tool-versions - registry-url: https://registry.npmjs.org + + - name: Creating .npmrc + run: | + cat << EOF > "$HOME/.npmrc" + //registry.npmjs.org/:_authToken=$NPM_TOKEN + EOF + env: + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Setup bun uses: oven-sh/setup-bun@v1