File tree 2 files changed +4
-5
lines changed
2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -22,14 +22,16 @@ jobs:
22
22
cache-dependency-path : ' pnpm-lock.yaml'
23
23
- name : Install dependencies
24
24
run : pnpm install --frozen-lockfile --prefer-offline --prod=false
25
+ - name : Set publishing config
26
+ run : pnpm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}"
27
+ env :
28
+ NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
25
29
- name : Semantic Release
26
30
id : semantic
27
31
uses : cycjimmy/semantic-release-action@v4
28
32
env :
29
33
GITHUB_TOKEN : ${{ secrets.CI_GITHUB_TOKEN }}
30
34
NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
31
- # PNPM uses NODE_AUTH_TOKEN to authenticate with NPM
32
- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
33
35
with :
34
36
semantic_version : 19
35
37
extra_plugins : |
Original file line number Diff line number Diff line change @@ -21,9 +21,6 @@ module.exports = {
21
21
} ,
22
22
] ,
23
23
24
- // This is a workaround to avoid the error "EUNSUPPORTEDPROTOCOL" when running the prepareCmd
25
- // https://github.com/pnpm/pnpm/issues/8064
26
- // https://github.com/pnpm/pnpm/issues/5904
27
24
[
28
25
'@semantic-release/exec' ,
29
26
{
You can’t perform that action at this time.
0 commit comments