Skip to content

Commit

Permalink
ci: manually create npmrc
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeldking committed Jan 9, 2024
1 parent eec8cbf commit f742458
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/typescript-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ jobs:
- name: Install Dependencies
working-directory: ./js
run: pnpm install --frozen-lockfile
- 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
uses: changesets/action@v1
with:
Expand Down

0 comments on commit f742458

Please sign in to comment.