Skip to content

Commit 28fb21c

Browse files
committed
Try to using access token.
1 parent 3fd099e commit 28fb21c

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/publish-packages.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66
- 'v*'
77

88
permissions:
9-
id-token: write
109
contents: read
1110

1211
jobs:
@@ -21,10 +20,8 @@ jobs:
2120

2221
- uses: actions/setup-node@v4
2322
with:
24-
node-version: '24'
25-
26-
- name: Configure npm registry
27-
run: npm config set registry https://registry.npmjs.org/
23+
node-version: '20'
24+
registry-url: 'https://registry.npmjs.org'
2825

2926
- run: npm install
3027

@@ -36,6 +33,7 @@ jobs:
3633
--version=$VERSION
3734
3835
- name: Publish to npm
39-
uses: JS-DevTools/npm-publish@v4
40-
with:
41-
package: packages/clients/dist-packages/${{ matrix.state }}/package.json
36+
working-directory: packages/clients/dist-packages/${{ matrix.state }}
37+
run: npm publish --access public
38+
env:
39+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)