Skip to content

Commit 369dda1

Browse files
committed
fix: relase npm
1 parent 448599b commit 369dda1

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/publish-affine-reader.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,10 @@ jobs:
5151
git add packages/affine-reader/package.json
5252
git commit -m "chore(release): affine-reader@${{ inputs.version }}"
5353
54-
- name: Setup .npmrc file
55-
run: |
56-
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
57-
5854
- name: Publish to npm
5955
working-directory: ./packages/affine-reader
56+
env:
57+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
6058
run: |
6159
if [ "${{ inputs.dry-run }}" = "true" ]; then
6260
pnpm publish . --no-git-checks --dry-run

0 commit comments

Comments
 (0)