File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 3333 with :
3434 node-version : 20.x
3535 cache : " pnpm"
36+ registry-url : ' https://registry.npmjs.org'
3637
3738 - name : Install dependencies
3839 run : pnpm install --frozen-lockfile
@@ -51,12 +52,10 @@ jobs:
5152 git add packages/affine-reader/package.json
5253 git commit -m "chore(release): affine-reader@${{ inputs.version }}"
5354
54- - name : Setup .npmrc file
55- run : |
56- echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
57-
5855 - name : Publish to npm
5956 working-directory : ./packages/affine-reader
57+ env :
58+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
6059 run : |
6160 if [ "${{ inputs.dry-run }}" = "true" ]; then
6261 pnpm publish . --no-git-checks --dry-run
Original file line number Diff line number Diff line change 55 "tsx" : " ^4.19.3"
66 },
77 "scripts" : {
8- "dev " : " pnpm --dir playground dev " ,
9- "postinstall " : " pnpm --dir packages/affine-reader build "
8+ "prepare " : " pnpm --dir packages/affine-reader build " ,
9+ "dev " : " pnpm --dir playground dev "
1010 }
1111}
You can’t perform that action at this time.
0 commit comments