File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 3535 key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
3636 restore-keys : |
3737 ${{ runner.os }}-pnpm-store-
38-
38+ - name : Set deployment token
39+ run : pnpm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
3940 - name : Publish
4041 run : |
4142 pnpm install --no-frozen-lockfile
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -557,12 +557,13 @@ async function run() {
557557 // Publish each package
558558 changedPackages . map ( ( pkg ) => {
559559 const packageDir = path . join ( rootDir , 'packages' , pkg . packageDir )
560- const cmd = `npm login && cd ${ packageDir } && npm publish --tag ${ npmTag } --access=public --no-git-checks`
560+ const cmd = `cd ${ packageDir } && npm publish --tag ${ npmTag } --access=public --no-git-checks`
561561 console . info (
562562 ` Publishing ${ pkg . name } @${ version } to npm with tag "${ npmTag } "...` ,
563563 )
564564
565- execSync ( `${ cmd } --token ${ process . env . NPM_TOKEN } ` )
565+ // execSync(`${cmd} --token ${process.env.NPM_TOKEN}`)
566+ execSync ( cmd )
566567 } )
567568
568569 console . info ( )
You can’t perform that action at this time.
0 commit comments