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 35
35
key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
36
36
restore-keys : |
37
37
${{ runner.os }}-pnpm-store-
38
-
38
+ - name : Set deployment token
39
+ run : pnpm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
39
40
- name : Publish
40
41
run : |
41
42
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() {
557
557
// Publish each package
558
558
changedPackages . map ( ( pkg ) => {
559
559
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`
561
561
console . info (
562
562
` Publishing ${ pkg . name } @${ version } to npm with tag "${ npmTag } "...` ,
563
563
)
564
564
565
- execSync ( `${ cmd } --token ${ process . env . NPM_TOKEN } ` )
565
+ // execSync(`${cmd} --token ${process.env.NPM_TOKEN}`)
566
+ execSync ( cmd )
566
567
} )
567
568
568
569
console . info ( )
You can’t perform that action at this time.
0 commit comments