Skip to content

Commit

Permalink
fix: ci npmrc not working
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeldking committed Jan 9, 2024
1 parent c6f9298 commit b98e362
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/typescript-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,11 @@ jobs:
- name: Install Dependencies
working-directory: ./js
run: pnpm install --frozen-lockfile
- name: Setup PNPM auth
working-directory: ./js
run: pnpm config set '//registry.npmjs.org/:_authToken=${NPM_TOKEN}'
- name: Creating .npmrc
run: |
cat << EOF > "$HOME/.npmrc"
//registry.npmjs.org/:_authToken=$NPM_TOKEN
EOF
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: create and publish versions
Expand Down

0 comments on commit b98e362

Please sign in to comment.