Skip to content

Commit

Permalink
fix(parsers): instantiate npmrc before calling pnpm publish (#2009)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsinghvi authored Jan 14, 2025
1 parent 0cb9f93 commit 9c29b7d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish-parsers-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ jobs:
- name: Compile package
if: steps.check-version.outputs.version_changed == 'true'
run: pnpm --filter @fern-api/docs-parsers compile

- name: Publish to npm
if: steps.check-version.outputs.version_changed == 'true'
run: pnpm --filter @fern-api/docs-parsers publish --no-git-checks --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.FERN_NPM_TOKEN }}
run: |
echo "//registry.npmjs.org/:_authToken=${{ secrets.FERN_NPM_TOKEN }}" > ~/.npmrc
pnpm --filter @fern-api/docs-parsers publish --no-git-checks --access public
2 changes: 1 addition & 1 deletion packages/parsers/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fern-api/docs-parsers",
"version": "0.0.32",
"version": "0.0.33",
"repository": {
"type": "git",
"url": "https://github.com/fern-api/fern-platform.git",
Expand Down

0 comments on commit 9c29b7d

Please sign in to comment.