Skip to content

Commit

Permalink
ci: attempt to setup npmrc in js
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeldking committed Jan 9, 2024
1 parent 9aa73d9 commit 1c6edd9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/typescript-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ jobs:
- name: Install Dependencies
working-directory: ./js
run: pnpm install --frozen-lockfile
- name: Setup npmrc
working-directory: ./js
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
- name: create and publish versions
uses: changesets/action@v1
with:
Expand All @@ -40,4 +43,4 @@ jobs:
publish: pnpm ci:publish
cwd: "./js"
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 1c6edd9

Please sign in to comment.